mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 08:29:24 +08:00
replicate: use creation time for local incremental file sink
related to https://github.com/chrislusf/seaweedfs/pull/1762
This commit is contained in:
17
weed/replication/sink/localsink/local_incremental_sink.go
Normal file
17
weed/replication/sink/localsink/local_incremental_sink.go
Normal 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{})
|
||||
}
|
Reference in New Issue
Block a user