You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
436 B

  1. package filer
  2. import (
  3. "github.com/chrislusf/seaweedfs/weed/glog"
  4. "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
  5. )
  6. const (
  7. DirectoryEtc = "/etc"
  8. )
  9. // onMetadataChangeEvent is triggered after filer processed change events from local or remote filers
  10. func (f *Filer) onMetadataChangeEvent(event *filer_pb.SubscribeMetadataResponse) {
  11. if DirectoryEtc != event.Directory {
  12. return
  13. }
  14. glog.V(0).Infof("procesing %v", event)
  15. }