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

-1 tablet log id used in WAL when table durability is set to None #477

Closed
keith-turner opened this issue May 7, 2018 · 0 comments
Closed
Labels
bug This issue has been verified to be a bug.
Milestone

Comments

@keith-turner
Copy link
Contributor

When a tables durability is set to none tablets get a tablet log id of -1. The durability can be set per batch writer and the table setting can be changed. Howerver when this change in durability happens, the tablet id in the WALs is still -1. This means that a tablet may recover data from other tablets because multiple tablets would be mapped to the same id of -1.

I discovered this with changes I made for #458. My changes caused an IT to fail with this pre-existing bug. This bug may have existed since 1.7.0. This bug would only be seen when setting table.durability=NONE and then later changing it to something else.

@keith-turner keith-turner added v2.0.0 bug This issue has been verified to be a bug. labels May 7, 2018
keith-turner added a commit to keith-turner/accumulo that referenced this issue May 7, 2018
keith-turner added a commit to keith-turner/accumulo that referenced this issue May 8, 2018
@ctubbsii ctubbsii added this to the 1.9.1 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue has been verified to be a bug.
Projects
None yet
Development

No branches or pull requests

2 participants