Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ public void reset()
@Override
public Object get()
{
return collector;
// Workaround for non-thread-safe use of HyperLogLogCollector.
// OnheapIncrementalIndex has a penchant for calling "aggregate" and "get" simultaneously.
return HyperLogLogCollector.makeCollectorSharingStorage(collector);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public void reset()
@Override
public Object get()
{
// Workaround for OnheapIncrementalIndex's penchant for calling "aggregate" and "get" simultaneously.
// Workaround for non-thread-safe use of HyperLogLogCollector.
// OnheapIncrementalIndex has a penchant for calling "aggregate" and "get" simultaneously.
return HyperLogLogCollector.makeCollectorSharingStorage(collector);
}

Expand Down