[Pascal Peregrina]
I would like to know if there is a way to get the list of affected oids
knowing a transcaction id.

Nothing in the storage API reveals this.

If not, any idea about what would be the simplest way to do that for a
FileStorage ZODB?

Search the output of fsdump.py:


for tid, and suck out the "oid=<number>" fields from following lines.

You could also look at the internal code executed by FileStorage.undo().

One way or another, you have to search the .fs file for the
transaction's record, then pick apart the data records the transaction
record contains.
For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to