Browse Source

move to github.com/seaweedfs/seaweedfs

pull/3390/head
Konstantin Lebedev 2 years ago
parent
commit
cd5c7ad052
  1. 6
      weed/server/volume_grpc_vacuum.go
  2. 2
      weed/topology/topology_vacuum.go

6
weed/server/volume_grpc_vacuum.go

@ -3,10 +3,10 @@ package weed_server
import ( import (
"context" "context"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
"github.com/chrislusf/seaweedfs/weed/storage/needle"
"github.com/prometheus/procfs" "github.com/prometheus/procfs"
"github.com/seaweedfs/seaweedfs/weed/glog"
"github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"
"github.com/seaweedfs/seaweedfs/weed/storage/needle"
"math" "math"
"runtime" "runtime"
) )

2
weed/topology/topology_vacuum.go

@ -139,7 +139,7 @@ func (t *Topology) batchVacuumVolumeCommit(grpcDialOption grpc.DialOption, vl *V
} else { } else {
glog.V(0).Infof("Complete Committing vacuum %d on %s", vid, dn.Url()) glog.V(0).Infof("Complete Committing vacuum %d on %s", vid, dn.Url())
} }
// small space out for the same volume id https://github.com/chrislusf/seaweedfs/issues/3369
// small space out for the same volume id https://github.com/seaweedfs/seaweedfs/issues/3369
time.Sleep(3 * time.Second) time.Sleep(3 * time.Second)
} }
if isCommitSuccess { if isCommitSuccess {

Loading…
Cancel
Save