async meta caching: can stream updates now

This commit is contained in:
Chris Lu
2020-04-21 21:16:13 -07:00
parent 4f02f7121d
commit e24b25de78
10 changed files with 236 additions and 127 deletions

View File

@@ -56,6 +56,7 @@ func (f *Filer) logMetaEvent(fullpath string, eventNotification *filer_pb.EventN
event := &filer_pb.SubscribeMetadataResponse{
Directory: dir,
EventNotification: eventNotification,
TsNs: time.Now().UnixNano(),
}
data, err := proto.Marshal(event)
if err != nil {