analysis
authorJoey Hess <joeyh@joeyh.name>
Tue, 13 Dec 2016 14:49:39 +0000 (10:49 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 13 Dec 2016 14:49:39 +0000 (10:49 -0400)
doc/bugs/Metadata_values_get_stuck_when_repeatedly_modified_in_the_same_batch_mode_run/comment_1_627bb742a5042741e9a1c294addd69b2._comment

index 8f84474915b05e7a0cd8f8c0dde8325fd21363ae..9541f1d74474846b1285082ff744df4e951ec4e2 100644 (file)
@@ -13,4 +13,10 @@ it is:
 
 That is supposed to unset c, with the CurrentlySet False, but instead c
 remains set somehow.
+
+Aha, the use of `addMetaData'` causes the bug. That reuses the same
+timestamp, and indeed the same timestamp is used for all the batch
+changes. With the same timestamp for the log line that sets c as the line
+that removes it, it's indeterminite which line will be acted on first, and
+so the removal can be processed before the addition, leaving c "stuck".
 """]]