real-logic / aeron

Efficient reliable UDP unicast, UDP multicast, and IPC message transport
https://aeron.io
Apache License 2.0
7.42k stars 892 forks source link

[Java] archive: optimize addDeleteSegmentsSession method #1663

Closed WorkingChen closed 1 month ago

WorkingChen commented 2 months ago

Move time-consuming I/O operations such as rename and unlink into SessionWork to prevent the archive conductor doWork from exceeding the Aeron timeout.

WorkingChen commented 2 months ago

Move time-consuming I/O operations such as rename and unlink into SessionWork to prevent the archive conductor doWork from exceeding the Aeron timeout.

issues ref: https://github.com/real-logic/aeron/issues/1662

vyazelenko commented 1 month ago

Fixed with https://github.com/real-logic/aeron/commit/5c244dea51938d0c89ffab07cd51c16d44a87e51