Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix race condition when getting WALs for dead tserver #866
When a tablet server dies the master gets its WALs from ZK. In ZK there
This bug was observed while looking into an exception I noticed while
I have been looking into this and I think it could only happen if the GC pulled info about an unreferenced WAL into memory before a tserver died AND then deleted the unreferenced WAL after the tserver died (while the master is trying to get the list). The GC seems to completely ignore WALs for any dead tservers that have tablets assigned to them.