carloea2 opened a new pull request, #8224: URL: https://github.com/apache/texera/pull/8224
### What is this PR for? Preserve the existing subqueue when the same key is registered twice. This keeps the key lookup and priority group aligned so queued messages remain reachable. Closes #8223 ### What type of PR is it? Bug Fix ### How was this PR tested? ```text python -c "import sys,pytest; sys.path[:0]=[worktree amber source, main amber source]; raise SystemExit(pytest.main(['amber/src/test/python/core/util/customized_queue/test_linked_blocking_multi_queue.py','amber/src/test/python/core/models/test_internal_queue.py','-q','-p','no:cacheprovider']))" 77 passed, 1 xfailed ruff check amber/src/main/python amber/src/test/python All checks passed ruff format --check amber/src/main/python amber/src/test/python 213 files already formatted ``` A direct post-fix probe registered the same key twice and then read both messages: ```text preserved=True returned_old=True sizes=2 2 messages=first second ``` Generated-by: Codex -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
