aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-23 21:45:16 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-23 21:45:16 -0800
commit94e3757c08909c6796c2bf02b579f8ee36128c4d (patch)
treed8326a2403dbf6e47bae343d146761c216645a3b
parent64c48c9724c77faa0f7c97049eda6845b61a1649 (diff)
downloadseaweedfs-94e3757c08909c6796c2bf02b579f8ee36128c4d.tar.xz
seaweedfs-94e3757c08909c6796c2bf02b579f8ee36128c4d.zip
fix
-rw-r--r--weed/filer/hbase/hbase_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/hbase/hbase_store.go b/weed/filer/hbase/hbase_store.go
index 6e1ccea35..fea6004be 100644
--- a/weed/filer/hbase/hbase_store.go
+++ b/weed/filer/hbase/hbase_store.go
@@ -114,7 +114,7 @@ func (store *HbaseStore) DeleteEntry(ctx context.Context, path util.FullPath) (e
func (store *HbaseStore) DeleteFolderChildren(ctx context.Context, path util.FullPath) (err error) {
family := map[string][]string{store.cfMetaDir: {COLUMN_NAME}}
- expectedPrefix := []byte(dirPath+"/")
+ expectedPrefix := []byte(path+"/")
scan, err := hrpc.NewScanRange(ctx, store.table, expectedPrefix, nil, hrpc.Families(family))
if err != nil {
return err