real-logic / aeron

Efficient reliable UDP unicast, UDP multicast, and IPC message transport
Apache License 2.0
7.37k stars 888 forks source link

[Java] archive: optimize addDeleteSegmentsSession method #1663

Closed WorkingChen closed 3 weeks ago

WorkingChen commented 1 month 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 1 month 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 3 weeks ago

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