You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "hubcio (via GitHub)" <gi...@apache.org> on 2026/01/20 10:21:46 UTC
[PR] fix(server): prevent panic when segment rotates during async persistence [iggy]
hubcio opened a new pull request, #2588:
URL: https://github.com/apache/iggy/pull/2588
Concurrent sends could race with segment rotation: Task A
starts persisting segment N while Task B rotates to N+1,
clearing N's indexes. Task A then panics on
active_indexes().unwrap().
Capture writers, indexes, and segment_idx atomically at commit
time so persistence completes correctly even if rotation occurs
mid-flight.
--
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: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(server): prevent panic when segment rotates during async persistence [iggy]
Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio merged PR #2588:
URL: https://github.com/apache/iggy/pull/2588
--
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: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org