Xiang Fu
Ankit Sultana
05/30/2025, 6:37 PMJackie
05/30/2025, 7:44 PMcreation_meta
from server, or when it is created from the controller side?Jackie
05/30/2025, 7:44 PMTarun Mavani
05/31/2025, 12:28 PMshouldReplaceOnComparisonTie
method currently accesses segment creation time through the local segment metadata.
Currently we don't have access to ZKMetadata but I think that should be easy to inject into the BasePartitionUpsertMetadataManager
and use the creation time from controller.
Using the creation.meta from ZK will make upserts more reliable.
I looked at the usage of server creation_meta and it seems shouldReplaceOnComparisonTie
is the main usage. It is used in some of the minion task as well but that might be okay. During the development, I can reassess if we should change that to controller creation.meta or not.
If we agree on changing the BasePartitionUpsertMetadataManager.shouldReplaceOnComparisonTie
impl to use creation.meta from controller, I can pick this up and share the PR in coming week.