You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/03/10 19:01:52 UTC

[GitHub] [accumulo] ctubbsii opened a new issue #1557: WalStateManager does not see a consistent snapshot of WAL state in ZK (race condition)

ctubbsii opened a new issue #1557: WalStateManager does not see a consistent snapshot of WAL state in ZK (race condition)
URL: https://github.com/apache/accumulo/issues/1557
 
 
   WalStateManager does multiple ZooKeeper lookups to gather the state of the WALs. This can lead to race conditions, although it is not clear to what extent these matter. This should be investigated further.
   
   `WalStateManager.getAllMarkers()` does one ZK lookup for the children of `/wals`, which gets the list of tservers, then loops through that and gets the WALs under each of those with separate ZK lookups, and then `state()` does additional ZK lookups to get the state of each WAL marker. All of these separate lookups can lead to a very inconsistent view of the WAL states. But... does this matter?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services