|
@ -122,7 +122,6 @@ func (v *Volume) CommitCompact() error { |
|
|
//time.Sleep(20 * time.Second)
|
|
|
//time.Sleep(20 * time.Second)
|
|
|
|
|
|
|
|
|
os.RemoveAll(v.FileName() + ".ldb") |
|
|
os.RemoveAll(v.FileName() + ".ldb") |
|
|
os.RemoveAll(v.FileName() + ".bdb") |
|
|
|
|
|
|
|
|
|
|
|
glog.V(3).Infof("Loading volume %d commit file...", v.Id) |
|
|
glog.V(3).Infof("Loading volume %d commit file...", v.Id) |
|
|
if e = v.load(true, false, v.needleMapKind, 0); e != nil { |
|
|
if e = v.load(true, false, v.needleMapKind, 0); e != nil { |
|
|