Skip to content

DataShard: followers stop syncing from the Sys table #4275

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

Closed
snaury opened this issue May 3, 2024 · 0 comments · Fixed by #4314
Closed

DataShard: followers stop syncing from the Sys table #4275

snaury opened this issue May 3, 2024 · 0 comments · Fixed by #4314
Assignees
Labels
area/datashard Issues related to datashard tablets (relational table partitions) bug Something isn't working

Comments

@snaury
Copy link
Member

snaury commented May 3, 2024

There's a long standing issue where followers start rejecting all queries complaining about mismatching path owner id (which is equal to the invalid value), while leader's Sys table has the correct value. We currently rely on the table's Serial counter to cache these values. It appears however that Serial is only updated on mem table updates, and after the table is compacted without any newer updates, the Serial field will remain zero at a rebooted follower, which is treated as "no changes in the table". We need to use a more complex comparison that disambiguates these cases using the table's epoch.

@snaury snaury added bug Something isn't working area/datashard Issues related to datashard tablets (relational table partitions) labels May 3, 2024
@snaury snaury self-assigned this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/datashard Issues related to datashard tablets (relational table partitions) bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant