aboutsummaryrefslogtreecommitdiff
path: root/unmaintained
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-11-28 18:33:18 -0800
committerChris Lu <chris.lu@gmail.com>2019-11-28 18:33:18 -0800
commitf60154f330a81354c433da37d612f235d1c0e4e9 (patch)
tree5e473f9616e35e525468959496e0448fb505e20a /unmaintained
parent641b92f53c057a2d0dd957ef2da26aadf0b70419 (diff)
downloadseaweedfs-f60154f330a81354c433da37d612f235d1c0e4e9.tar.xz
seaweedfs-f60154f330a81354c433da37d612f235d1c0e4e9.zip
master load backend storage config from master.toml
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/fix_dat/fix_dat.go2
-rw-r--r--unmaintained/remove_duplicate_fids/remove_duplicate_fids.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/unmaintained/fix_dat/fix_dat.go b/unmaintained/fix_dat/fix_dat.go
index e88a48c96..bee30b2bd 100644
--- a/unmaintained/fix_dat/fix_dat.go
+++ b/unmaintained/fix_dat/fix_dat.go
@@ -73,7 +73,7 @@ func main() {
}
-func iterateEntries(datBackend backend.DataStorageBackend, idxFile *os.File, visitNeedle func(n *needle.Needle, offset int64)) {
+func iterateEntries(datBackend backend.BackendStorageFile, idxFile *os.File, visitNeedle func(n *needle.Needle, offset int64)) {
// start to read index file
var readerOffset int64
bytes := make([]byte, 16)
diff --git a/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go b/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go
index a162d1757..dfbb82049 100644
--- a/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go
+++ b/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go
@@ -29,7 +29,7 @@ type VolumeFileScanner4SeeDat struct {
dir string
hashes map[string]bool
dat *os.File
- datBackend backend.DataStorageBackend
+ datBackend backend.BackendStorageFile
}
func (scanner *VolumeFileScanner4SeeDat) VisitSuperBlock(superBlock storage.SuperBlock) error {