)]}'
{"specs/in_progress/fastpostupdates.rst":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"4fc12e212d726421f3cb3ab05d9fe5bc0da4a908","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Currently using fast-POST incurs the following limitations:"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"#. Any updates to the content-type of an object made with a POST are not"},{"line_number":30,"context_line":"   reflected in the container listing."},{"line_number":31,"context_line":"#. The change in last-modified time of an object due to a POST is not reflected"},{"line_number":32,"context_line":"   in the container listing."},{"line_number":33,"context_line":"#. Container-Sync does not \"sync\" objects after their metadata has been changed"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a930d6b_6fefe9e9","line":30,"updated":"2015-01-23 21:12:50.000000000","message":"I don\u0027t think you can update content-type with fast-POST; this assumption is referenced a couple of times in the document, but I\u0027m pretty sure the DiskFile will prevent it?","commit_id":"21e5dbee2deacebf5b5362b737f46f95c483fe27"},{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"6311436b49f3a1fee8cf1e70536e6f0a14570857","unresolved":false,"context_lines":[{"line_number":656,"context_line":""},{"line_number":657,"context_line":"#. Using a combination of the metadata-timestamp and a hash of the .meta file"},{"line_number":658,"context_line":"   contents to form a name for the .meta file. The timestamp part allows for"},{"line_number":659,"context_line":"   cleanup f .meta files that are older than a .data or .ts file, while the"},{"line_number":660,"context_line":"   hash part distinguishes .meta that contain different Content-Type and/or"},{"line_number":661,"context_line":"   Content-Type timestamp values. During replication, all valid .meta files are"},{"line_number":662,"context_line":"   preserved in the object directory (the worst case number being capped at the"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_42e8dde1","line":659,"updated":"2015-02-19 16:50:20.000000000","message":"\"cleanup f .meta\" \u003d probably \"of .meta\"","commit_id":"8921672b4710c58e5e46819d45e07724620ca9ca"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"1b3463b018834e8bf3c7aadea53f31fda6ef553b","unresolved":false,"context_lines":[{"line_number":656,"context_line":""},{"line_number":657,"context_line":"#. Using a combination of the metadata-timestamp and a hash of the .meta file"},{"line_number":658,"context_line":"   contents to form a name for the .meta file. The timestamp part allows for"},{"line_number":659,"context_line":"   cleanup f .meta files that are older than a .data or .ts file, while the"},{"line_number":660,"context_line":"   hash part distinguishes .meta that contain different Content-Type and/or"},{"line_number":661,"context_line":"   Content-Type timestamp values. During replication, all valid .meta files are"},{"line_number":662,"context_line":"   preserved in the object directory (the worst case number being capped at the"}],"source_content_type":"text/x-rst","patch_set":11,"id":"ba7be1f8_e7444076","line":659,"in_reply_to":"da86d52c_42e8dde1","updated":"2015-02-20 17:00:57.000000000","message":"Done","commit_id":"8921672b4710c58e5e46819d45e07724620ca9ca"},{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"6311436b49f3a1fee8cf1e70536e6f0a14570857","unresolved":false,"context_lines":[{"line_number":687,"context_line":"Force content-type-timestamp to be same as metadata-timestamp"},{"line_number":688,"context_line":"-------------------------------------------------------------"},{"line_number":689,"context_line":""},{"line_number":690,"context_line":"We can the management of .meta files by requiring every POST arriving at an"},{"line_number":691,"context_line":"object server to include the content-type, and therefore remove the need to"},{"line_number":692,"context_line":"maintain a separate content-type-timestamp. There would be no need to maintain"},{"line_number":693,"context_line":"multiple meta files. Container updates would still need to be sent during an"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_c2a20dad","line":690,"updated":"2015-02-19 16:50:20.000000000","message":"I\u0027m not exactly sure why we would can the management... Perhaps you meant \"we can simplify the management\" or something?","commit_id":"8921672b4710c58e5e46819d45e07724620ca9ca"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"1b3463b018834e8bf3c7aadea53f31fda6ef553b","unresolved":false,"context_lines":[{"line_number":687,"context_line":"Force content-type-timestamp to be same as metadata-timestamp"},{"line_number":688,"context_line":"-------------------------------------------------------------"},{"line_number":689,"context_line":""},{"line_number":690,"context_line":"We can the management of .meta files by requiring every POST arriving at an"},{"line_number":691,"context_line":"object server to include the content-type, and therefore remove the need to"},{"line_number":692,"context_line":"maintain a separate content-type-timestamp. There would be no need to maintain"},{"line_number":693,"context_line":"multiple meta files. Container updates would still need to be sent during an"}],"source_content_type":"text/x-rst","patch_set":11,"id":"ba7be1f8_074a3480","line":690,"in_reply_to":"da86d52c_c2a20dad","updated":"2015-02-20 17:00:57.000000000","message":"Done","commit_id":"8921672b4710c58e5e46819d45e07724620ca9ca"}],"specs/swift/fastpostupdates.rst":[{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"0a28a8557b7cb1319ca1754b14dafa0051ab0bcc","unresolved":false,"context_lines":[{"line_number":159,"context_line":"  Obj server 2   : /t0.data {etag\u003dOLD_ETAG, size\u003ds0, c_type\u003dOLD_TYPE}"},{"line_number":160,"context_line":"                   /t2.meta {c_type\u003dNEW_TYPE}"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"The object replicator will in time copy t2.meta to obj server 2. No change"},{"line_number":163,"context_line":"from existing behaviour."},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Object server 2 will send container updates {o, etag\u003dOLD_ETAG, size\u003ds0,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_c864e6e6","line":162,"updated":"2014-07-15 14:16:59.000000000","message":"The object replicator will in time copy t2.meta to servers 1 and 3.\n\nSeeing as t2.meta is already on server 2.","commit_id":"77bb33f6b65b4dd69f1d7fb36ac13132f135287e"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"0ccd08ddda1ccac02fe0baf6740bce11d509f85d","unresolved":false,"context_lines":[{"line_number":159,"context_line":"  Obj server 2   : /t0.data {etag\u003dOLD_ETAG, size\u003ds0, c_type\u003dOLD_TYPE}"},{"line_number":160,"context_line":"                   /t2.meta {c_type\u003dNEW_TYPE}"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"The object replicator will in time copy t2.meta to obj server 2. No change"},{"line_number":163,"context_line":"from existing behaviour."},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Object server 2 will send container updates {o, etag\u003dOLD_ETAG, size\u003ds0,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_1eb10944","line":162,"in_reply_to":"baada198_c864e6e6","updated":"2014-07-25 11:38:22.000000000","message":"thanks. Done","commit_id":"77bb33f6b65b4dd69f1d7fb36ac13132f135287e"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":162,"context_line":"Metadata timestamps will be two-vector timestamps (as introduced with"},{"line_number":163,"context_line":"storage policies) and take the form of::"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    \u003corig_data_file_timestamp\u003e_\u003cmetadata_update_timestamp\u003e"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"According to the sort order of two-vector timestamps any metadata"},{"line_number":168,"context_line":"timestamp applied to a data file with an original time of t0 will be"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_ba688cf6","line":165,"updated":"2014-11-11 15:13:10.000000000","message":"I\u0027m not convinced that it is necessary to use the t0_t2 format as the name of the metadata file, and I think it could be undesirable as it will result in unnecessary replication traffic.\n\ne.g. obj server A has t0.data, server B has t1.data, both receive fast-POST at t2, so if I understand this proposal we have on A:\n\n t0.data\n t0_t2.meta\n\nand on B:\n\n t1.data\n t1_t2.data\n\nduring replication both t1.data and t1_t2.meta will be copied, but the content of t1_t2.meta \u003d\u003d t0_t2.meta, always.\n\nThe composite timestamp only needs to be applied in the container server update as a way to encode two timestamps. So object on server A:\n\n t0.data, t2.meta --container update--\u003e t0_t2\n\nand on server B:\n\n t1.data, t2.meta --container update--\u003e t1_t2\n\nand on the container servers the update with t1_t2 will \u0027win\u0027.\n\nI\u0027m also wondering what happens if container-reconciler needs to \u0027bump\u0027 a .meta file - if we have a file t0_t1.meta and it gets bumped to t0_t1++.meta then we have lost the original modification time to report back to clients (which was the point of using the second vector for the bump - it isn\u0027t visible to clients).","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"40d55406ad3de45694105d97914071606fd3b130","unresolved":false,"context_lines":[{"line_number":162,"context_line":"Metadata timestamps will be two-vector timestamps (as introduced with"},{"line_number":163,"context_line":"storage policies) and take the form of::"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    \u003corig_data_file_timestamp\u003e_\u003cmetadata_update_timestamp\u003e"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"According to the sort order of two-vector timestamps any metadata"},{"line_number":168,"context_line":"timestamp applied to a data file with an original time of t0 will be"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_68964c96","line":165,"in_reply_to":"5a890539_ba688cf6","updated":"2014-11-11 18:47:22.000000000","message":"this may be true, but replication of the t1_t2.meta file is still better in the general case than replication of a whole new object t2 which you get with post-as-copy.\n\nIn the container-reconciler case since an entire consistent view of the object needs to be transferred the t1_t2 row would get enqueued and transfered as t1_t2++ the object t0_t2 would not be able to satisfy the enqueued row and would be skipped until t1_t2 is available to transfer to the correct storage policy as t1_t2++.\n\nIt\u0027s true that using the metadata update as the secondary portion of the object timestamp  transparent to the client, incrementing it would also be transparent.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":173,"context_line":"If two out-of-sync object servers both receive a metadata update (t2),"},{"line_number":174,"context_line":"but apply it to two different original .data files (t0 and t1) their"},{"line_number":175,"context_line":"internal record (hashes.pkl) for hash will be different (t0_t2 and"},{"line_number":176,"context_line":"t1_t2).  They will be considered *out of sync*."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"If a container server receives both a PUT /object request with a"},{"line_number":179,"context_line":"metadata timestamp of t0_t2 and t1_t2 - t1_t2 will win.  The same holds"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_ba36cc01","line":176,"updated":"2014-11-11 15:13:10.000000000","message":"They will be out of sync with existing code (different hashes.pkl for t0.data, t12.meta vs t1.data, t2.meta), we don\u0027t need to use composite timestamp in the .meta file name to achieve out-of-sync-ness on the object servers.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"40d55406ad3de45694105d97914071606fd3b130","unresolved":false,"context_lines":[{"line_number":173,"context_line":"If two out-of-sync object servers both receive a metadata update (t2),"},{"line_number":174,"context_line":"but apply it to two different original .data files (t0 and t1) their"},{"line_number":175,"context_line":"internal record (hashes.pkl) for hash will be different (t0_t2 and"},{"line_number":176,"context_line":"t1_t2).  They will be considered *out of sync*."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"If a container server receives both a PUT /object request with a"},{"line_number":179,"context_line":"metadata timestamp of t0_t2 and t1_t2 - t1_t2 will win.  The same holds"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_68af2ce4","line":176,"in_reply_to":"5a890539_ba36cc01","updated":"2014-11-11 18:47:22.000000000","message":"well maybe, if the timestamp in the hashes.pkl for the hash is just t2, then they would be considered in sync, I think this may be an existing problem with fast-post, i\u0027ll have to look at the failure mode more closely.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":190,"context_line":"which case a \"newer\" .data file on a handoff from t1 will take"},{"line_number":191,"context_line":"precedence over all of the metadata records.  In this rare case a"},{"line_number":192,"context_line":"metadata update can be accepted but eventually over-written"},{"line_number":193,"context_line":"asynchronously from a client request."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"However it has has the advantage of favoring the last .data file write during"},{"line_number":196,"context_line":"failure rather than the .data file that was available to participate in"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_7d48de5b","line":193,"updated":"2014-11-11 15:13:10.000000000","message":"True, but this can be fixed at the container server by simply inspecting the composite timestamp of each PUT request and observing that t3 \u003e t1, so at the container server the *composite* timestamp written to the db should be composed from the newset data + the newest metadata times.\n\nThis will then accurately reflect the eventual state of the object servers after replication.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"40d55406ad3de45694105d97914071606fd3b130","unresolved":false,"context_lines":[{"line_number":190,"context_line":"which case a \"newer\" .data file on a handoff from t1 will take"},{"line_number":191,"context_line":"precedence over all of the metadata records.  In this rare case a"},{"line_number":192,"context_line":"metadata update can be accepted but eventually over-written"},{"line_number":193,"context_line":"asynchronously from a client request."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"However it has has the advantage of favoring the last .data file write during"},{"line_number":196,"context_line":"failure rather than the .data file that was available to participate in"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_a85594c7","line":193,"in_reply_to":"5a890539_7d48de5b","updated":"2014-11-11 18:47:22.000000000","message":"This implementation is not obvious to me, a do not suspect it trivial.  A diff would be helpful.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":207,"context_line":"current metadata update timestamp (still associated to the"},{"line_number":208,"context_line":"orig_data_file_timestamp) in such a way that it is *newer* than a"},{"line_number":209,"context_line":"metadata update that get\u0027s computed off of an *older* metadata update"},{"line_number":210,"context_line":"(or a metadata update applied directly to the datafile)."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_ddcab2a0","line":210,"updated":"2014-11-11 15:13:10.000000000","message":"Couldn\u0027t this handled by proxy HEADing for the content-type if it is not sent with client POST?","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"40d55406ad3de45694105d97914071606fd3b130","unresolved":false,"context_lines":[{"line_number":207,"context_line":"current metadata update timestamp (still associated to the"},{"line_number":208,"context_line":"orig_data_file_timestamp) in such a way that it is *newer* than a"},{"line_number":209,"context_line":"metadata update that get\u0027s computed off of an *older* metadata update"},{"line_number":210,"context_line":"(or a metadata update applied directly to the datafile)."},{"line_number":211,"context_line":""},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_886ff891","line":210,"in_reply_to":"5a890539_ddcab2a0","updated":"2014-11-11 18:47:22.000000000","message":"Yes, i believe so.  That final thinking is lacking in the current draft of the spec - I\u0027m going to attempt to update that today.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":273,"context_line":"unavailable during POST nor the metadata update that was applied only to"},{"line_number":274,"context_line":"stale reads; and *also* update the container we would need to be able to"},{"line_number":275,"context_line":"create a new container record to reflect the merged item,"},{"line_number":276,"context_line":"asynchronously, during replication."},{"line_number":277,"context_line":""},{"line_number":278,"context_line":"We do not want object replication to generate container updates on an"},{"line_number":279,"context_line":"object by object basis."}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_1da35a9f","line":276,"updated":"2014-11-11 15:13:10.000000000","message":"(See earlier comment) - this can be handled by correct treatment of the composite timestamps received with object server (async) updates. At least one container server will end up with a row that accurately reflects the composition of newset data + newest meta. That row will \u0027win\u0027 during container replication and will be consistent with the eventual outcome of object replication.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"40d55406ad3de45694105d97914071606fd3b130","unresolved":false,"context_lines":[{"line_number":273,"context_line":"unavailable during POST nor the metadata update that was applied only to"},{"line_number":274,"context_line":"stale reads; and *also* update the container we would need to be able to"},{"line_number":275,"context_line":"create a new container record to reflect the merged item,"},{"line_number":276,"context_line":"asynchronously, during replication."},{"line_number":277,"context_line":""},{"line_number":278,"context_line":"We do not want object replication to generate container updates on an"},{"line_number":279,"context_line":"object by object basis."}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_68200c4a","line":276,"in_reply_to":"5a890539_1da35a9f","updated":"2014-11-11 18:47:22.000000000","message":"Yes, I believe you\u0027re making a strong case that this may be possible, but I\u0027m somewhat confident that it will require the container server encoding all three vectors of time into the container row so that out-of-order async updates can be applied in such a way that the container server eventually derives the same view that will eventually be replicated on the object servers.  I think it\u0027s particularly difficult when an async update from a data file at t1 includes a content type, is recieved by the container server after a metadata at t2 which included a suggested content type from t0.  It really all comes down to the implementation of merge items to calculates the derived rows - which must be proven to be performant in the common case.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":288,"context_line":"either of the current implementations for POST, rather than resolving a"},{"line_number":289,"context_line":"limitation of the current fast-POST implementation.  Although it may"},{"line_number":290,"context_line":"warrant further discussion in a separate specification which could"},{"line_number":291,"context_line":"potentially supersede this one."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"Example Scenarios"},{"line_number":294,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_3d23b606","line":291,"updated":"2014-11-11 15:13:10.000000000","message":"Rather than being an enhancement, isn\u0027t this necessary to preserve existing behavior? i.e. currently the client\u0027s most recent POST will eventually be applied to the client\u0027s most recent PUT. IMHO that is the least surprising behavior.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"40d55406ad3de45694105d97914071606fd3b130","unresolved":false,"context_lines":[{"line_number":288,"context_line":"either of the current implementations for POST, rather than resolving a"},{"line_number":289,"context_line":"limitation of the current fast-POST implementation.  Although it may"},{"line_number":290,"context_line":"warrant further discussion in a separate specification which could"},{"line_number":291,"context_line":"potentially supersede this one."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"Example Scenarios"},{"line_number":294,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_e88f9c21","line":291,"in_reply_to":"5a890539_3d23b606","updated":"2014-11-11 18:47:22.000000000","message":"I don\u0027t consider fast-POST current behavior - it\u0027s a legacy shim that\u0027s not currently well supported.  The current behavior of POST is COPY.  I don\u0027t think this described implementation is better or worse but it would fast-POST to be a supportable option.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":433,"context_line":"When the metadata update at t1_t2 does *not* include a new timestamp,"},{"line_number":434,"context_line":"the content-type of the intial datafile is sent to the container::"},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"  Cont server 1,2,3: {ts\u003dt1_t2, etag\u003dm1, size\u003ds1, c_type\u003dc1}"},{"line_number":437,"context_line":""},{"line_number":438,"context_line":"Additional POSTs to overwrite metadata"},{"line_number":439,"context_line":"--------------------------------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_b0526d11","line":436,"updated":"2014-11-11 15:13:10.000000000","message":"No! Assume a subset of object servers received a POST with content type\u003dc1a at t1a (t1 \u003c t1a \u003c t2), then we have a race at t2: all object servers will send an update with timestamp t1_t2, some will report ctype\u003dc1, others will report ctype\u003dc1a.\n\nWe need all object servers to update with the same values associated with the same timestamps.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"40d55406ad3de45694105d97914071606fd3b130","unresolved":false,"context_lines":[{"line_number":433,"context_line":"When the metadata update at t1_t2 does *not* include a new timestamp,"},{"line_number":434,"context_line":"the content-type of the intial datafile is sent to the container::"},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"  Cont server 1,2,3: {ts\u003dt1_t2, etag\u003dm1, size\u003ds1, c_type\u003dc1}"},{"line_number":437,"context_line":""},{"line_number":438,"context_line":"Additional POSTs to overwrite metadata"},{"line_number":439,"context_line":"--------------------------------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_88a0d891","line":436,"in_reply_to":"5a890539_b0526d11","updated":"2014-11-11 18:47:22.000000000","message":"correct, this spec did not include the x-newest head request to ensure that all metadata updates include a content-type as they must.  #willfix","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":467,"context_line":"Recall that the initial metadata update at t2 had set the content-type"},{"line_number":468,"context_line":"to c2, so it sent to the containers with the t3 update::"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"  Cont server 1,2,3: {ts\u003dt1_t3, etag\u003dm1, size\u003ds1, c_type\u003dc2}"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"Resolving conflicts with multiple metadata overwrites"},{"line_number":473,"context_line":"-----------------------------------------------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_3093dda4","line":470,"updated":"2014-11-11 15:13:10.000000000","message":"Same comment as above - object servers should never unilaterally advance the timestamp associated with any value (data, etag or content type) because they cannot assume that the value they observe is the most recent in the system.\n\nThe \u0027safer\u0027 approach is to HEAD with X-Newest at proxy and pass a consistent view of the \u0027latest\u0027 ctype to all object servers.","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":470,"context_line":"  Cont server 1,2,3: {ts\u003dt1_t3, etag\u003dm1, size\u003ds1, c_type\u003dc2}"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"Resolving conflicts with multiple metadata overwrites"},{"line_number":473,"context_line":"-----------------------------------------------------"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"If a previous metadata update is not consistent across all nodes, the"},{"line_number":476,"context_line":"metadata updates may be in conflict (similarly to out-of-sync .data"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_f0cf95ae","line":473,"updated":"2014-11-11 15:13:10.000000000","message":"Oh, ok, so this is what I was whining about in my previous two comments :)","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":503,"context_line":"You\u0027re challenge should you choose to accept it is find some math that"},{"line_number":504,"context_line":"can combine t2 into the t3 update to satisfy this sorting requirement."},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"You have 16 hex digts."},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"Go."},{"line_number":509,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_932c9b4c","line":506,"updated":"2014-11-11 15:13:10.000000000","message":"\u0027As usual, should you or any of your buffers overflow, the Secretary will disavow any knowledge of your actions\u0027","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":505,"context_line":""},{"line_number":506,"context_line":"You have 16 hex digts."},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"Go."},{"line_number":509,"context_line":""},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"Container Sync"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_b3d51745","line":508,"updated":"2014-11-11 15:13:10.000000000","message":"...and this is where we stray towards the more general problem of updatable (sys)meta... we can dodge this bullet for the time being if we can ensure ctype is always included with a POST (by having the proxy use HEAD X-Newest when client does not POST the ctype).","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"bddb66393c4d847514109d2e5bd2f10e50d4e7ca","unresolved":false,"context_lines":[{"line_number":529,"context_line":""},{"line_number":530,"context_line":"    We should ifx the sync daemon from using the row[‘created_at’] value"},{"line_number":531,"context_line":"    to set the x-timestamp of the object PUT to the peer container, and"},{"line_number":532,"context_line":"    have it instead use the X-Timestamp from the object being synced."},{"line_number":533,"context_line":""},{"line_number":534,"context_line":"Implementation"},{"line_number":535,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a890539_f3cf9fae","line":532,"updated":"2014-11-11 15:13:10.000000000","message":"yes!","commit_id":"0f1fe85bceee083dc8202658e2db4f7284e52803"}]}
