[Checkins] [zopefoundation/ZODB] 3807ac: fstail: print the txn offset and header size, inst...
GitHub
noreply at github.com
Tue Jul 26 19:44:10 CEST 2016
Branch: refs/heads/4
Home: https://github.com/zopefoundation/ZODB
Commit: 3807ace862f54a244a7658242bc50ea55ef40e83
https://github.com/zopefoundation/ZODB/commit/3807ace862f54a244a7658242bc50ea55ef40e83
Author: Julien Muchembled <jm at nexedi.com>
Date: 2016-07-12 (Tue, 12 Jul 2016)
Changed paths:
M src/ZODB/fstools.py
M src/ZODB/scripts/fstail.py
M src/ZODB/scripts/tests/fstail.txt
M src/ZODB/scripts/tests/test_doc.py
Log Message:
-----------
fstail: print the txn offset and header size, instead of only the data offset
Before:
2016-07-01 09:41:50.416574: hash=d7101c5ee7b8e412d7b6d54873204421e09b7f34
user='' description='' length=1629 offset=58990284
After:
2016-07-01 09:41:50.416574: hash=d7101c5ee7b8e412d7b6d54873204421e09b7f34
user='' description='' length=1629 offset=58990261 (+23)
The structure of a FileStorage DB is such that it's easy to revert the last
transactions, by truncating the file at the right offset. With the above
change, `fstail` can now be used to get this offset.
In the above example:
truncate -s 58990261 Data.fs
would delete the transaction and all those after.
Commit: 4392f902a066d0746cd9d682648f5f3bd0af812b
https://github.com/zopefoundation/ZODB/commit/4392f902a066d0746cd9d682648f5f3bd0af812b
Author: Julien Muchembled <jm at nexedi.com>
Date: 2016-07-13 (Wed, 13 Jul 2016)
Changed paths:
M CHANGES.rst
Log Message:
-----------
Changelog for PR #88
Commit: 37e445a5e19786815e5cb41bb08b9fd9b6c551c0
https://github.com/zopefoundation/ZODB/commit/37e445a5e19786815e5cb41bb08b9fd9b6c551c0
Author: Jim Fulton <jim at jimfulton.info>
Date: 2016-07-26 (Tue, 26 Jul 2016)
Changed paths:
M CHANGES.rst
M src/ZODB/fstools.py
M src/ZODB/scripts/fstail.py
M src/ZODB/scripts/tests/fstail.txt
M src/ZODB/scripts/tests/test_doc.py
Log Message:
-----------
Merge pull request #88 from zopefoundation/fstail-offset
fstail: print the txn offset and header size, instead of only the data offset
Compare: https://github.com/zopefoundation/ZODB/compare/75bae1a68a30...37e445a5e197
More information about the checkins
mailing list