apache / apache/pinot

Clean up mailbox map in mailbox service if a query has finished

Open
#9,626 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
2d 55m
Merged PRs (30d)
182

Description

- mailbox reference will be kept in concurrent hashmap forever
- if query fails, it doesn't cancel all the mailboxes, but the mailbox receive operator already returned. this means any incoming messages for that specific mailbox receive operator will be buffered in the queue forever.
- this cannot be a shutdown time clean up as the long running service will keep piling up new mailboxes as requestID grows (they are not reusable)

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by tracing the mailbox map in the mailbox service through query completion and failure paths; done means completed or failed queries remove mailbox references and incoming messages are not buffered indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.