datafuselabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.29k stars 701 forks source link

refactor: move snapshot building io to other task. #15351

Closed drmingdrmer closed 2 weeks ago

drmingdrmer commented 2 weeks ago

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

refactor: move snapshot building io to other task.

Add short sleep to avoid starving sled IO.

This commit is meant to address the issue when building a snapshot, other IO such as appending log to sled db is delay significantly.

Remove several unnecessary INFO level log.

Tests

Type of change

Related Issues


This change isโ€‚Reviewable