tsdb: sync temporary checkpoint directory before rename (#7004)
tsdb: sync temporary checkpoint directory before rename (#7004)

Signed-off-by: zhulongcheng <2fa797c4ec90e744aa9187d34843a67aa80e4e9d@gmail.com>
GoogleCloudPlatform/prometheus,GoogleCloudPlatform/prometheus,alileza/prometheus,prometheus/prometheus,alileza/prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,GoogleCloudPlatform/prometheus,keegancsmith/prometheus,alileza/prometheus,alileza/prometheus,alileza/prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,prometheus/prometheus,prometheus/prometheus,keegancsmith/prometheus,keegancsmith/prometheus,prometheus/prometheus,prometheus/prometheus