aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/filer.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer2/filer.go')
-rw-r--r--weed/filer2/filer.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/filer2/filer.go b/weed/filer2/filer.go
index ce6bb8133..c603777bd 100644
--- a/weed/filer2/filer.go
+++ b/weed/filer2/filer.go
@@ -74,8 +74,6 @@ func (f *Filer) RollbackTransaction(ctx context.Context) error {
func (f *Filer) CreateEntry(ctx context.Context, entry *Entry, o_excl bool) error {
- glog.V(4).Infof("CreateEntry create %s", entry.FullPath)
-
if string(entry.FullPath) == "/" {
return nil
}
@@ -159,6 +157,7 @@ func (f *Filer) CreateEntry(ctx context.Context, entry *Entry, o_excl bool) erro
oldEntry, _ := f.FindEntry(ctx, entry.FullPath)
+ glog.V(4).Infof("CreateEntry %s: old entry : %v", entry.FullPath, oldEntry)
if oldEntry == nil {
if err := f.store.InsertEntry(ctx, entry); err != nil {
glog.Errorf("insert entry %s: %v", entry.FullPath, err)