Skip to content

Conversation

@ankitsultana
Copy link
Contributor

@ankitsultana ankitsultana commented Apr 6, 2023

Complete events should also be able to wake up an OpChain.

@codecov-commenter
Copy link

codecov-commenter commented Apr 6, 2023

Codecov Report

Merging #10564 (24c190e) into master (e3d7433) will decrease coverage by 5.93%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master   #10564      +/-   ##
============================================
- Coverage     70.29%   64.36%   -5.93%     
- Complexity     6462     6473      +11     
============================================
  Files          2103     2052      -51     
  Lines        112767   110960    -1807     
  Branches      16979    16800     -179     
============================================
- Hits          79265    71420    -7845     
- Misses        27947    34372    +6425     
+ Partials       5555     5168     -387     
Flag Coverage Δ
integration1 ?
integration2 ?
unittests1 67.88% <50.00%> (+0.04%) ⬆️
unittests2 13.92% <0.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...he/pinot/query/mailbox/InMemorySendingMailbox.java 90.47% <0.00%> (+5.47%) ⬆️
.../mailbox/channel/MailboxContentStreamObserver.java 74.57% <100.00%> (+0.43%) ⬆️

... and 526 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Override
public void onCompleted() {
_isCompleted.set(true);
_gotMailCallback.accept(_mailboxId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we also wake up onError as well. we need also to populate errors upstream?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are doing that already right? (L145 above)

Copy link
Contributor

@walterddr walterddr Apr 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm. interesting i see some errors not populating back correctly issue. maybe it is a different problem (remove error vs. local error?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One open issue right now is that in case of an error we can potentially return "CANCELLED" error instead of the actual error block due to the race condition we talked about in the past. Are you seeing something else?

Copy link
Contributor

@walterddr walterddr Apr 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's probably what's happening. let me double check the code and make sure it was the case. was it similar to the root cause for: #10555 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope for #10555 the issue was with the sorting logic in the mailbox receive operator.

@walterddr
Copy link
Contributor

tagging @Jackie-Jiang to take a look as well

@walterddr walterddr merged commit 529432c into apache:master Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants