Introduced in I0667a026 (in 2019) and used for consistency by default in BagOStuff::set(), even for the 99% of values that don't need segmentation.
The method was removed from use in I830c78a50 due to the overhead of SerializedValueContainer being undesirable, so there is no longer a use case for it. If a value doesn't need segmentation, it shouldn't be wrapped in SerializedValueContainer.
Description
Description
Details
Details
- Other Assignee
- ArielGlenn
Customize query in gerrit
Event Timeline
Comment Actions
Change 949110 had a related patch set uploaded (by Krinkle; author: Derick Alangi):
[mediawiki/core@master] objectcache: Hard deprecate SerializedValueContainer::newUnified()
Comment Actions
Change 949110 merged by jenkins-bot:
[mediawiki/core@master] objectcache: Hard deprecate SerializedValueContainer::newUnified()
Comment Actions
@DAlangi_WMF Will add a couple of steps to describe what needs to be done to close this task.
Comment Actions
Change 1012348 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):
[mediawiki/core@master] objectcache: Drop `SerializedValueContainer::newUnified()`
Comment Actions
Change 1012348 merged by jenkins-bot:
[mediawiki/core@master] objectcache: Drop `SerializedValueContainer::newUnified()`
Comment Actions
@DAlangi_WMF With the unified container, and the way to create a unified container, gone. Can we remove the isUnified() callers, function, and SCHEMA_UNIFIED constant as well? Those callers should be impossible now.
Comment Actions
Yes we can remove it but since it's a public method, this would need to go through the deprecation process right? I can remove callers, and just hard deprecate this immediately, not sure about complete removal though.
1 usage in MediumSpecificBagOStuff: https://codesearch.wmcloud.org/search/?q=%3A%3AisUnified%5C%28&files=&excludeFiles=&repos=
Comment Actions
Change 1012619 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):
[mediawiki/core@master] objectcache: Deprecate `SerializedValueContainer::isUnified()`
Comment Actions
Change 1012619 merged by jenkins-bot:
[mediawiki/core@master] objectcache: Deprecate `SerializedValueContainer::isUnified()`
Comment Actions
Change #1023446 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):
[mediawiki/core@master] objectcache: Drop SerializedValueContainer::isUnified
Comment Actions
Change #1023446 merged by jenkins-bot:
[mediawiki/core@master] objectcache: Drop SerializedValueContainer::isUnified