)]}'
{"swift/obj/replicator.py":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"4810588eed493680e71a027b837f3600c078cec4","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    nodes \u003d []"},{"line_number":68,"context_line":"    for region in region_keys:"},{"line_number":69,"context_line":"        regional_nodes \u003d regions[region]"},{"line_number":70,"context_line":"        random.shuffle(regional_nodes)"},{"line_number":71,"context_line":"        nodes.extend(regional_nodes)"},{"line_number":72,"context_line":"    return nodes"},{"line_number":73,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba7be1f8_95b675f7","line":70,"updated":"2015-02-26 16:32:33.000000000","message":"So I had reasoned that if the shuffle was good for update, it would be good for update_deleted.  And on my saio it was nice to see that if I kept running the same replicator it would eventually push it out to both remote nodes even without running replication on the remote nodes.\n\nSo i\u0027m not sure the added shuffle is helpful.  I think if you have two nodes in the remote region and the first one is down - you should up just doing the full update job with the second node in the region.  NOT doing the stable order might negate much of the effectiveness if the source region is running replication faster than the remote (i.e. you still ship two copies across the WAN).\n\nI suppose if remote node is *up* and accepting updates, but replication isn\u0027t pushing them out to the other remote node (or is going really slow) the source region may be waiting a long time for the \"first\" node to push to the second - but maybe that\u0027s better than shipping across a wan twice - maybe only up to a timeout of like 24-72 hrs or something?  Like as long as delete_objs is non-zero you keep resetting the timer, but after a day or two forget it *we\u0027ll* push to the other node if you won\u0027t!","commit_id":"6301503ea019f106ad6ae99c5e52c2644f2d90de"}]}
