mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 22:46:40 +01:00
This commit adds the compaction feature of the bbolt compact to our bolt backend. This will try to open the DB in read-only mode and create a compacted copy in a temporary file. Once the compaction was successful, the temporary file and the old source file are swapped atomically. |
||
---|---|---|
.. | ||
etcd | ||
backend.go | ||
bolt_compact.go | ||
config.go | ||
interface.go | ||
kvdb_etcd.go | ||
kvdb_no_etcd.go | ||
log.go |