Skip to content
Snippets Groups Projects
Unverified Commit 19662456 authored by Ahsan Barkati's avatar Ahsan Barkati Committed by GitHub
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.
parent 3233a705
No related branches found
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