Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 1544: ConcurrentModificationException with nonblocking logReade…
…r.readNext(true) *Motivation* Fixes apache#1544. ConcurrentModificationException is thrown when trying to access a non-thread-safe hashmap from different threads. *Changes* Make sure accessing to this non-thread-safe hashmap is under synchronized block. *Tests* It is a bit tricky to reproduce this race condition in a unit test or an integration test. so not going to attempt adding any tests.
- Loading branch information