diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2019-02-28 06:27:39 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-28 06:27:39 -0800 |
| commit | 572d986deefe1d04163db4488ce2b33a52190a75 (patch) | |
| tree | 2120ad9359970b5221b956e418603777ddee00c6 | |
| parent | cb07d15254a0ce87486b859ed693bfea1a7263a5 (diff) | |
| parent | 900aad4935a508fc63d2a70f6d75429431e618d6 (diff) | |
| download | seaweedfs-572d986deefe1d04163db4488ce2b33a52190a75.tar.xz seaweedfs-572d986deefe1d04163db4488ce2b33a52190a75.zip | |
Merge pull request #865 from PapaYofen/fix-864
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)) |
