OSDN Git Service

feat(cache checkpoint): cache checkpoint (#2049)
authorhauson <32921352+hauson@users.noreply.github.com>
Thu, 22 Jul 2021 02:46:19 +0000 (10:46 +0800)
committerGitHub <noreply@github.com>
Thu, 22 Jul 2021 02:46:19 +0000 (10:46 +0800)
commitfa11435189d4112cab1230086739f53046bbb7a8
tree834c2ad0a026adf50ff01a40fe7333591b2b6fd9
parent0112ea0b1e7e167e62e51395c148fba1dfd96a69
feat(cache checkpoint): cache checkpoint (#2049)

* feat(cache checkpoint): cache checkpoint

* feat(golint): golint

* feat(modify): modify

* feat(fix): modify checkpoint cache key , cant not be bytes

* feat(fix): fix save check points

Co-authored-by: 崔浩鑫 <cuihaoxin@cuihaoxindeMacBook-Pro.local>
database/cache.go
database/cache_test.go
database/store.go
database/store_checkpoint.go [new file with mode: 0644]