Duo Zhang created HBASE-28248:
---------------------------------
Summary: Race between RegionRemoteProcedureBase and rollback
operation could lead to ROLLEDBACK state be persisent to procedure store
Key: HBASE-28248
URL: https://issues.apache.org/jira/browse/HBASE-28248
Project: HBase
Issue Type: Bug
Reporter: Duo Zhang
And then cause load procedures failure.
This is because we do not execute RegionRemoteProcedureBase.persistAndWake
method in PEWorker, so even if we hold the procedureExecutionLock in rollback,
they could be executed concurrently.
So it is possible that in rollback, we set the state to ROLLEDBACK and delete
the procedure, and then in persistAndWake, we persist the ROLLEDBACK state to
procedure store.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)