Comment 18 for bug 1484105

Revision history for this message
Tim Penhey (thumper) wrote :

Wow... this is very screwed.

There should be nothing that removes the txn-revno field in a document.

The reason that the assert to check txn-revno == 0 is due to the code that is updating the document. It is attempting to make sure that the document hasn't changed since it read it, using the assumption that the txn-revno is always there, because it should be. There is no reason that there would be a txn-queue but no txn-revno.

The simplest solution is to manually add a txn-revno to the document. Any positive integer should be fine. If you want to set the correct value, you'd have to scan the txn collection for an operation on that document, the last revno will be in the "r" field. Feel free to contact me on IRC if you need help.