diff options
| author | chrislu <chris.lu@gmail.com> | 2023-06-25 20:30:20 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-06-25 20:30:20 -0700 |
| commit | 61c42f9991e117ca6097c6429bb306b7e05758e2 (patch) | |
| tree | 470481b1894c37cd60e51b57874ce06fd4ad9554 /weed/filer/filer.go | |
| parent | aafb874ad2b4b39090ec644077df464c5b04f988 (diff) | |
| download | seaweedfs-61c42f9991e117ca6097c6429bb306b7e05758e2.tar.xz seaweedfs-61c42f9991e117ca6097c6429bb306b7e05758e2.zip | |
adjust lock APIs
Diffstat (limited to 'weed/filer/filer.go')
| -rw-r--r-- | weed/filer/filer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/filer.go b/weed/filer/filer.go index 7625d4bde..82b822971 100644 --- a/weed/filer/filer.go +++ b/weed/filer/filer.go @@ -61,7 +61,7 @@ func NewFiler(masters map[string]pb.ServerAddress, grpcDialOption grpc.DialOptio FilerConf: NewFilerConf(), RemoteStorage: NewFilerRemoteStorage(), UniqueFilerId: util.RandomInt32(), - Dlm: lock_manager.NewDistributedLockManager(), + Dlm: lock_manager.NewDistributedLockManager(filerHost), } if f.UniqueFilerId < 0 { f.UniqueFilerId = -f.UniqueFilerId |
