Browse Source

expose only store wrapper to meta changes

pull/1502/head
Chris Lu 4 years ago
parent
commit
b61d33f251
  1. 2
      weed/filer/meta_aggregator.go

2
weed/filer/meta_aggregator.go

@ -78,7 +78,7 @@ func (ma *MetaAggregator) subscribeToOneFiler(f *Filer, self string, peer string
var counter int64
var synced bool
maybeReplicateMetadataChange = func(event *filer_pb.SubscribeMetadataResponse) {
if err := Replay(f.Store.ActualStore, event); err != nil {
if err := Replay(f.Store, event); err != nil {
glog.Errorf("failed to reply metadata change from %v: %v", peer, err)
return
}

Loading…
Cancel
Save