We ended up with a deadlock in
HBASE-14943, with the storeTracker and lock acquired in reverse order by syncLoop() and insert/update/delete. In the syncLoop() with don't need the lock when we try to roll or removeInactive. also we can move the insert/update/delete tracker check in the syncLoop avoiding to the extra lock operation.
- is related to
HBASE-14943 Procedure-V2: Deadlock in WALProcedureStore