Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary fix for the bucket storage version selection #11

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

khssnv
Copy link
Member

@khssnv khssnv commented Aug 13, 2024

The following check unexpectedly returns true for a block with a bucket storage layout v54100.

if (storage.ddcCustomers.buckets.v48013.is(block)) {

The patch replaces .is(block) calls with spec versions comparisons. This fixes the problem with the wrong bucket storage layout selection. At the same time we are losing an ability to detect if an incoming block has an unsupported (future) version of the storage and this patch should be reverted as soon as the .is(block) check fixed.

I've also checked if other processors affected and have not found the same problem with storage.system.account.v266.is(block) in CereBalancesProcessor.

@khssnv khssnv force-pushed the fix/wrong-version-selection branch from eff0b46 to 60b1a26 Compare August 13, 2024 06:53
@khssnv khssnv merged commit b27846c into dev Aug 13, 2024
1 check passed
@khssnv khssnv deleted the fix/wrong-version-selection branch August 13, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants