diff options
| author | chenwanli <chenwanli@sensetime.com> | 2019-02-26 18:12:58 +0800 |
|---|---|---|
| committer | chenwanli <chenwanli@sensetime.com> | 2019-02-28 11:37:44 +0800 |
| commit | 900aad4935a508fc63d2a70f6d75429431e618d6 (patch) | |
| tree | 2120ad9359970b5221b956e418603777ddee00c6 | |
| parent | cb07d15254a0ce87486b859ed693bfea1a7263a5 (diff) | |
| download | seaweedfs-900aad4935a508fc63d2a70f6d75429431e618d6.tar.xz seaweedfs-900aad4935a508fc63d2a70f6d75429431e618d6.zip | |
Fix https://github.com/chrislusf/seaweedfs/issues/864
| -rw-r--r-- | weed/topology/store_replicate.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/topology/store_replicate.go b/weed/topology/store_replicate.go index 3967bb3e3..4273e6d68 100644 --- a/weed/topology/store_replicate.go +++ b/weed/topology/store_replicate.go @@ -47,6 +47,7 @@ func ReplicatedWrite(masterNode string, s *storage.Store, } q := url.Values{ "type": {"replicate"}, + "ttl": {needle.Ttl.String()}, } if needle.LastModified > 0 { q.Set("ts", strconv.FormatUint(needle.LastModified, 10)) |
