Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.
Merged
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 @@ -90,6 +90,10 @@ public void onStart(StreamController streamController) {

@Override
public void onResponse(RunAggregationQueryResponse response) {
// Ignore subsequent response messages. The RunAggregationQuery RPC returns a stream of
// responses (rather than just a single response); however, only the first response of the
// stream is actually used. Any more responses are technically errors, but since the Future
// will have already been notified, we just drop any unexpected responses.
if (!isFutureNotified.compareAndSet(false, true)) {
return;
}
Expand Down