aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2019-02-28 06:27:39 -0800
committerGitHub <noreply@github.com>2019-02-28 06:27:39 -0800
commit572d986deefe1d04163db4488ce2b33a52190a75 (patch)
tree2120ad9359970b5221b956e418603777ddee00c6
parentcb07d15254a0ce87486b859ed693bfea1a7263a5 (diff)
parent900aad4935a508fc63d2a70f6d75429431e618d6 (diff)
downloadseaweedfs-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.go1
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))