The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/fix/index-service-lock-imbalance has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
cf9277235ba998bd0cd2a8b09ade434e5aca6542 / zjncs <[email protected]>
[ISSUE #S1] Scope the index list write lock to the list update in 
getAndCreateLastIndexFile

If IndexFile creation fails (e.g. the store directory is not writable),
the catch block logs the error but the finally block then calls
writeLock().unlock() although lock() was never reached, throwing
IllegalMonitorStateException out of getAndCreateLastIndexFile into the
message write path. Create the file outside the lock and only take the
write lock to append it to indexFileList.

Signed-off-by: zjncs <[email protected]>

Report URL: https://github.com/apache/rocketmq/actions/runs/34339861668

With regards,
GitHub Actions via GitBox

Reply via email to