Skip to content

[Backport] Replace EmittedBatchCounter and UpdateCounter with ConcurrentAwaitableCounter#5642

Merged
jon-wei merged 1 commit intoapache:0.12.0from
gianm:backport-5592-to-0.12.0
Apr 13, 2018
Merged

[Backport] Replace EmittedBatchCounter and UpdateCounter with ConcurrentAwaitableCounter#5642
jon-wei merged 1 commit intoapache:0.12.0from
gianm:backport-5592-to-0.12.0

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Apr 13, 2018

Backport of #5592 to 0.12.0.

…eCounter (apache#5592)

* Replace EmittedBatchCounter and UpdateCounter with (both not safe for concurrent increments/updates) with ConcurrentAwaitableCounter (safe for concurrent increments)

* Fixes

* Fix EmitterTest

* Added Javadoc and make awaitCount() to throw exceptions on wrong count instead of masking errors
@gianm gianm added the Backport label Apr 13, 2018
@gianm gianm added this to the 0.12.1 milestone Apr 13, 2018
@jon-wei jon-wei merged commit 66ea105 into apache:0.12.0 Apr 13, 2018
gianm added a commit to implydata/druid-public that referenced this pull request Apr 16, 2018
…eCounter (apache#5592) (apache#5642)

* Replace EmittedBatchCounter and UpdateCounter with (both not safe for concurrent increments/updates) with ConcurrentAwaitableCounter (safe for concurrent increments)

* Fixes

* Fix EmitterTest

* Added Javadoc and make awaitCount() to throw exceptions on wrong count instead of masking errors
@gianm gianm deleted the backport-5592-to-0.12.0 branch September 23, 2022 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants