chenwanli 6 years ago
parent
commit
900aad4935
  1. 1
      weed/topology/store_replicate.go

1
weed/topology/store_replicate.go

@ -47,6 +47,7 @@ func ReplicatedWrite(masterNode string, s *storage.Store,
} }
q := url.Values{ q := url.Values{
"type": {"replicate"}, "type": {"replicate"},
"ttl": {needle.Ttl.String()},
} }
if needle.LastModified > 0 { if needle.LastModified > 0 {
q.Set("ts", strconv.FormatUint(needle.LastModified, 10)) q.Set("ts", strconv.FormatUint(needle.LastModified, 10))

Loading…
Cancel
Save