Skip to content
Snippets Groups Projects
Commit 183e844c authored by Ahsan Barkati's avatar Ahsan Barkati Committed by Daniel Mai
Browse files

opt(restore): Sort the buffer before spinning the writeToDisk goroutine (#7984)

Sort the buffer beforehand instead of sorting it in the goroutine used for
writing the buffer to disk. The writeToDisk goroutines are throttled and
making it expensive causes other goroutines to block.

This change significantly improves the restore map phase.

(cherry picked from commit 19662456)
parent f18b1556
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment