youzan / ZanRedisDB

Yet another distributed fault-tolerant key-value database Compatible with Redis written in Golang.
MIT License
388 stars 60 forks source link

Improve the snapshot restore #92

Open absolute8511 opened 3 years ago

absolute8511 commented 3 years ago

Make sure the snapshot restore is atomic and can be fast enough.

related: https://github.com/tikv/tikv/issues/2609 https://github.com/tikv/tikv/issues/5911 https://github.com/tikv/tikv/pull/8301 https://github.com/tikv/tikv/pull/8408 https://github.com/tikv/tikv/pull/1618 https://github.com/cockroachdb/cockroach/pull/38932 https://github.com/cockroachdb/cockroach/issues/16954