diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2019-10-21 22:30:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-21 22:30:35 -0700 |
| commit | c262526d8ad86b54bd34bacddd6cc393ebfbe984 (patch) | |
| tree | 512a3e6178b0f7d7f18d3169e8ff6425982776ba /weed/command/compact.go | |
| parent | 7de121d99b87d4d38356fb83ee15e761f7d22ed4 (diff) | |
| parent | 2e2fe00dbd69d631bff8189708315ebea5f1e524 (diff) | |
| download | seaweedfs-c262526d8ad86b54bd34bacddd6cc393ebfbe984.tar.xz seaweedfs-c262526d8ad86b54bd34bacddd6cc393ebfbe984.zip | |
Merge pull request #1087 from joeslay/master
Storing files in in-memory collections on windows
Diffstat (limited to 'weed/command/compact.go')
| -rw-r--r-- | weed/command/compact.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/compact.go b/weed/command/compact.go index 79d50c095..4a54f5670 100644 --- a/weed/command/compact.go +++ b/weed/command/compact.go @@ -38,7 +38,7 @@ func runCompact(cmd *Command, args []string) bool { vid := needle.VolumeId(*compactVolumeId) v, err := storage.NewVolume(*compactVolumePath, *compactVolumeCollection, vid, - storage.NeedleMapInMemory, nil, nil, preallocate) + storage.NeedleMapInMemory, nil, nil, preallocate, 0) if err != nil { glog.Fatalf("Load Volume [ERROR] %s\n", err) } |
