From b61d33f251e7f2bea7a1e53b496a9777344e77e2 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 22 Sep 2020 16:27:36 -0700 Subject: [PATCH] expose only store wrapper to meta changes --- weed/filer/meta_aggregator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/meta_aggregator.go b/weed/filer/meta_aggregator.go index 4918899ff..b90457339 100644 --- a/weed/filer/meta_aggregator.go +++ b/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 }