diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-10-31 08:32:46 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-30 20:32:46 -0700 |
| commit | bf8a9d2db138053951af646b87f613b7d96142ee (patch) | |
| tree | 2e59fbdb7b97ff4f6018ecd5ad069efead5fc42d /weed/shell/command_volume_fsck.go | |
| parent | 8b9957d4616f9c6d416552a1db9fbd83c97c64f4 (diff) | |
| download | seaweedfs-bf8a9d2db138053951af646b87f613b7d96142ee.tar.xz seaweedfs-bf8a9d2db138053951af646b87f613b7d96142ee.zip | |
[volume.chek.disk] sync of deletions the fix (#3923)
* sync of deletions the fix
* avoid return if only partiallyDeletedNeedles
* refactor sync deletions
Diffstat (limited to 'weed/shell/command_volume_fsck.go')
| -rw-r--r-- | weed/shell/command_volume_fsck.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go index 854929998..6e3a813cf 100644 --- a/weed/shell/command_volume_fsck.go +++ b/weed/shell/command_volume_fsck.go @@ -574,7 +574,7 @@ func (c *commandVolumeFsck) oneVolumeFileIdsSubtractFilerFileIds(dataNodeId stri if !n.Size.IsValid() { return nil } - orphanFileIds = append(orphanFileIds, fmt.Sprintf("%d,%s00000000", volumeId, n.Key.String())) + orphanFileIds = append(orphanFileIds, n.Key.FileId(volumeId)) orphanFileCount++ orphanDataSize += uint64(n.Size) return nil |
