add .tmp suffix to transient db names
This commit is contained in:
parent
26a5832f92
commit
1a59b73adc
@ -48,6 +48,7 @@ func NewBadgerMarkSetEnv(path string) (MarkSetEnv, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (e *BadgerMarkSetEnv) create(name string, sizeHint int64) (*BadgerMarkSet, error) {
|
func (e *BadgerMarkSetEnv) create(name string, sizeHint int64) (*BadgerMarkSet, error) {
|
||||||
|
name += ".tmp"
|
||||||
path := filepath.Join(e.path, name)
|
path := filepath.Join(e.path, name)
|
||||||
|
|
||||||
db, err := openTransientBadgerDB(path)
|
db, err := openTransientBadgerDB(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user