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/01/09 18:43:52 UTC

[GitHub] [accumulo] keith-turner commented on issue #1447: Perform lease recovery for wasb filesystem

keith-turner commented on issue #1447: Perform lease recovery for wasb filesystem
URL: https://github.com/apache/accumulo/pull/1447#issuecomment-572696835
 
 
   >  Does anyone have ideas for things we could do to test out tserver failure scenarios?
   
   For testing, it would be nice to be able to make a tserver not halt when it looses its lock in ZK.  The master would thinks its dead, but it would keep running.  I can think of three ways to accomplish this.  
   
   First, we could just make it configurable but this feels wrong.  
   
   Second we could write some code in accumulo-testing that uses byte buddy to create a java agent which mutates the behavior of the tablet server code.  I did something like this for [nanoop](https://github.com/keith-turner/nanoop).  Maybe there is an easier way to mutate the behavior of compiled java code.  This javaagent could be built in accumulo-testing and configured in accumulo-env.sh for a test.  This option is very complicated, but it allows testing of released binaries w/o having to rebuild.
   
   Third we could maintain a patch somewhere that changes the behavior of Accumulo on lock loss.  For test you build Accumulo with this patch.  I think this option is the most straightforward.  For testing released versions, would need to get the source for that release and rebuild.

----------------------------------------------------------------
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