Enhance concurrency handling with improved ticket acquisition logic and logging
This commit is contained in:
@@ -337,6 +337,7 @@ class SweepstoreWorkerTicket {
|
||||
|
||||
_concurrencyHeader._header._file.setPositionSync(_baseOffset);
|
||||
_concurrencyHeader._header._file.writeFromSync(buffer.toUint8List());
|
||||
_concurrencyHeader._header._file.flushSync();
|
||||
|
||||
} finally {
|
||||
_concurrencyHeader._header._file.unlockSync(_baseOffset, _baseOffset + ticketSize);
|
||||
|
||||
Reference in New Issue
Block a user