replicate: use creation time for local incremental file sink

related to https://github.com/chrislusf/seaweedfs/pull/1762
This commit is contained in:
Chris Lu
2021-01-28 02:17:41 -08:00
parent 822f1ade9d
commit da08402ba2
4 changed files with 7 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
package localsink
import (
"github.com/chrislusf/seaweedfs/weed/replication/sink"
)
type LocalIncSink struct {
LocalSink
}
func (localincsink *LocalIncSink) GetName() string {
return "local_incremental"
}
func init() {
sink.Sinks = append(sink.Sinks, &LocalIncSink{})
}