-
Notifications
You must be signed in to change notification settings - Fork 284
Open
Labels
Description
I get block in below situation:
when do put operation, below is the case:
- put into userRegion is ok.
- at this time,
indexRegion.closingis set true, but wait for the lock. - execute the
indexRegion.batchMutateForIndexmethod, will log WARN when execute indoMiniBatchMutationmethod, because theindexRegion.closingistrue.
try {
acquiredLockId = getLock(providedLockId, mutation.getRow(), shouldBlock);
} catch (IOException ioe) {
LOG.warn("Failed getting lock in batch put, row=" + Bytes.toStringBinary(mutation.getRow()), ioe);
}doMiniBatchMutation method always return 0L, so the indexRegion.batchMutateForIndex is a endless operation.
while (!batchOp.isDone()) {
....
}
it always log WARN to file, until the disk is full.
Reactions are currently unavailable