mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 19:19:11 +08:00
22 lines
436 B
Go
22 lines
436 B
Go
package filer
|
|
|
|
import (
|
|
"github.com/chrislusf/seaweedfs/weed/glog"
|
|
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
|
)
|
|
|
|
const (
|
|
DirectoryEtc = "/etc"
|
|
)
|
|
|
|
// onMetadataChangeEvent is triggered after filer processed change events from local or remote filers
|
|
func (f *Filer) onMetadataChangeEvent(event *filer_pb.SubscribeMetadataResponse) {
|
|
if DirectoryEtc != event.Directory {
|
|
return
|
|
}
|
|
|
|
glog.V(0).Infof("procesing %v", event)
|
|
|
|
|
|
}
|