Browse Source

Revert "turn on streaming assign file id"

This reverts commit 733db2bc88.
pull/4841/head
chrislu 1 year ago
parent
commit
4650c4c65f
  1. 2
      weed/server/filer_server_handlers_write.go

2
weed/server/filer_server_handlers_write.go

@ -43,7 +43,7 @@ func (fs *FilerServer) assignNewFileInfo(so *operation.StorageOption) (fileId, u
ar, altRequest := so.ToAssignRequests(1)
assignResult, ae := fs.assignProxy.Assign(ar, altRequest)
assignResult, ae := operation.Assign(fs.filer.GetMaster, fs.grpcDialOption, ar, altRequest)
if ae != nil {
glog.Errorf("failing to assign a file id: %v", ae)
err = ae

Loading…
Cancel
Save