*** kosh_ has quit IRC | 00:00 | |
*** kosh_000__ is now known as kosh | 00:07 | |
*** J1m has quit IRC | 00:15 | |
*** J1m has joined #zope | 00:16 | |
*** m8 has quit IRC | 00:33 | |
*** kosh_ has joined #zope | 00:47 | |
*** kosh has quit IRC | 00:50 | |
*** kosh_ has quit IRC | 01:05 | |
*** menesis has quit IRC | 01:15 | |
*** supton has quit IRC | 01:19 | |
*** J1m has quit IRC | 01:31 | |
*** stevegt has joined #zope | 02:12 | |
*** Pumukel has quit IRC | 02:42 | |
*** daMaestro has quit IRC | 02:43 | |
*** tiwula has quit IRC | 02:51 | |
*** KageSenshi has quit IRC | 03:07 | |
*** KageSenshi has joined #zope | 04:10 | |
*** KageSenshi has quit IRC | 04:36 | |
*** KageSenshi has joined #zope | 05:03 | |
*** KageSenshi has quit IRC | 05:38 | |
*** KageSenshi has joined #zope | 05:41 | |
*** alecm has quit IRC | 05:45 | |
*** tiwula has joined #zope | 06:04 | |
*** alecm has joined #zope | 06:32 | |
*** alecm has joined #zope | 06:32 | |
*** KageSenshi has quit IRC | 06:40 | |
*** KageSenshi has joined #zope | 06:42 | |
*** alecm has quit IRC | 07:07 | |
*** yvl has joined #zope | 07:28 | |
*** KageSenshi has quit IRC | 07:42 | |
*** KageSenshi has joined #zope | 07:50 | |
*** tiwula has quit IRC | 07:55 | |
*** alecm has joined #zope | 08:05 | |
*** KageSenshi has quit IRC | 08:16 | |
*** agroszer has joined #zope | 09:11 | |
*** __mac__ has joined #zope | 09:17 | |
*** alecm has quit IRC | 09:40 | |
*** avoinea has joined #zope | 09:48 | |
*** KageSenshi has joined #zope | 09:56 | |
*** kosh has joined #zope | 09:59 | |
*** __mac__ has quit IRC | 10:06 | |
*** giacomos has joined #zope | 10:13 | |
*** __mac__ has joined #zope | 10:28 | |
*** menesis has joined #zope | 10:29 | |
*** MrTango has joined #zope | 10:31 | |
*** KageSenshi has quit IRC | 10:31 | |
*** KageSenshi has joined #zope | 10:33 | |
*** alecm has joined #zope | 10:36 | |
*** __mac__ has quit IRC | 10:43 | |
*** kosh has quit IRC | 10:47 | |
*** fredvd has joined #zope | 10:56 | |
*** yvl has quit IRC | 11:02 | |
*** maurits has joined #zope | 11:04 | |
*** __mac__ has joined #zope | 11:07 | |
*** Jan_Garaj3 has joined #zope | 11:12 | |
*** __mac__ has quit IRC | 11:27 | |
*** yvl has joined #zope | 11:32 | |
*** menesis has quit IRC | 12:26 | |
*** jakke has joined #zope | 12:28 | |
jakke | ok guys, still messing with the transaction machinery in zope, trying to put the puzzle together | 12:28 |
---|---|---|
jakke | I can now open a Data.fs at a given tid with open(at=tid) | 12:29 |
jakke | but how on earth do I access that transaction? cause when I do transaction.get, I start a new one | 12:30 |
*** MatthewWilkes has quit IRC | 12:46 | |
*** MatthewWilkes has joined #zope | 12:47 | |
MatthewWilkes | jakke: What are you trying to do with the transaction? | 12:48 |
jakke | I want to access the objects that are stored in that specific transaction | 12:49 |
jakke | I know how to do that | 12:49 |
jakke | background: we had corrupted data recently, digging my way into the ZODB/transactions machinery and document it | 12:49 |
jakke | since there is no "querry" language in ZODB | 12:50 |
*** __mac__ has joined #zope | 12:54 | |
*** __mac__ has quit IRC | 12:56 | |
*** menesis has joined #zope | 13:10 | |
*** __mac__ has joined #zope | 13:29 | |
*** KageSenshi has quit IRC | 13:52 | |
*** __mac__ has quit IRC | 13:54 | |
*** jakke has quit IRC | 13:54 | |
*** Arfrever has quit IRC | 13:54 | |
*** __mac__ has joined #zope | 13:56 | |
*** jakke has joined #zope | 14:03 | |
*** J1m has joined #zope | 14:36 | |
*** kosh has joined #zope | 14:39 | |
*** kosh has quit IRC | 14:50 | |
*** roq_ has quit IRC | 15:02 | |
*** roq_ has joined #zope | 15:04 | |
*** Pumukel has joined #zope | 15:22 | |
*** tisto has quit IRC | 16:27 | |
*** kosh has joined #zope | 16:38 | |
*** __mac__ has quit IRC | 16:54 | |
*** agroszer has quit IRC | 16:58 | |
jakke | J1m, remember you pointed me some time ago to the connection.open( before=tid) functionality? | 17:05 |
J1m | yes | 17:05 |
jakke | I can see the open connection in the ConnectionDebugInfo | 17:05 |
jakke | but I can't see how to use that connection and join that transaction | 17:06 |
jakke | have you ever used that? | 17:06 |
jakke | the next steps I know how to do, I think, for what I need | 17:06 |
J1m | Have I ever used what? | 17:06 |
jakke | the open(before) stuff | 17:06 |
J1m | yes | 17:06 |
jakke | or access an existing transaction from a given connection | 17:07 |
jakke | I don't see the glue between the open connection and accessing the transaction :s | 17:07 |
J1m | I've accessed a connection's transaction manager. | 17:07 |
jakke | right, been there | 17:08 |
jakke | and then join that transaction manager on a historical_pool connection? | 17:08 |
J1m | um, I have nfc what you're getting at. | 17:08 |
J1m | I've used the before option to inspect old data. | 17:09 |
J1m | You can' | 17:09 |
J1m | You can't modify data through such a connection. | 17:09 |
jakke | don't have to, just need to see it | 17:09 |
jakke | but I need to see the contents of a specific transaction | 17:10 |
jakke | so I open a connection, with that specific tid: open(at=tid) | 17:10 |
J1m | You can only see the database as of a particular point in time, such as just after a transaction was commited. | 17:11 |
jakke | but if I iterate over the transactions, I can get the TransactionRecord, which is pretty useless if I have to loop over all of them | 17:12 |
J1m | You probably have to use a tid 1 higher than the tid of the transaction you're interested in, cuz "before". | 17:12 |
jakke | so far so good, I'm following you there | 17:12 |
jakke | but how do I get to the TransactionRecord then, and to the next one? | 17:12 |
jakke | iterator starts from the first one | 17:12 |
jakke | first in Data.fs I mean | 17:13 |
*** Pumukel has quit IRC | 17:24 | |
*** Pumukel has joined #zope | 17:27 | |
*** kosh_ has joined #zope | 17:29 | |
*** kosh has quit IRC | 17:33 | |
jakke | J1m, iterating over the connection._storage to find the right transaction proves to be easier, using that bit now | 17:53 |
jakke | closing in to a summary of my search, thx for your pointers! | 17:54 |
*** tiwula has joined #zope | 17:56 | |
*** jakke has left #zope | 18:01 | |
*** jwr___ has joined #zope | 18:04 | |
*** jwr__ has quit IRC | 18:07 | |
*** Pumukel has quit IRC | 18:07 | |
*** Pumukel has joined #zope | 18:11 | |
*** Jan_Garaj3 has quit IRC | 18:21 | |
*** fredvd has quit IRC | 18:22 | |
*** fdrake has quit IRC | 18:23 | |
*** KageSenshi has joined #zope | 18:24 | |
*** mibofra has quit IRC | 18:32 | |
*** mibofra has joined #zope | 18:35 | |
*** daMaestro has joined #zope | 18:45 | |
*** giacomos has quit IRC | 18:46 | |
*** Pumukel has quit IRC | 18:48 | |
*** maurits has quit IRC | 18:56 | |
*** supton has joined #zope | 19:02 | |
*** giacomos has joined #zope | 19:02 | |
*** kosh_000__ has joined #zope | 19:15 | |
*** kosh_ has quit IRC | 19:18 | |
*** jwr__ has joined #zope | 19:31 | |
*** jwr___ has quit IRC | 19:34 | |
*** kosh_000__ has quit IRC | 19:37 | |
*** kosh_000__ has joined #zope | 19:38 | |
*** kosh_ has joined #zope | 19:42 | |
*** kosh_000__ has quit IRC | 19:45 | |
*** giacomos has quit IRC | 20:04 | |
*** kosh_ has quit IRC | 20:08 | |
*** kosh_ has joined #zope | 20:09 | |
*** m8 has joined #zope | 20:09 | |
*** kosh_000__ has joined #zope | 20:13 | |
*** kosh_ has quit IRC | 20:18 | |
*** kosh_000__ has quit IRC | 20:19 | |
*** kosh_000__ has joined #zope | 20:19 | |
*** kosh_000__ has quit IRC | 20:26 | |
*** kosh has joined #zope | 20:27 | |
*** stereo_ has joined #zope | 20:38 | |
*** nueces has joined #zope | 20:51 | |
*** mibofra has quit IRC | 20:53 | |
*** mibofra has joined #zope | 20:53 | |
*** menesis has quit IRC | 21:02 | |
*** kosh_ has joined #zope | 21:29 | |
*** kosh has quit IRC | 21:32 | |
*** moo-_- has quit IRC | 21:47 | |
*** kosh_000__ has joined #zope | 21:49 | |
*** kosh has joined #zope | 21:51 | |
*** menesis has joined #zope | 21:51 | |
*** moo-_- has joined #zope | 21:52 | |
*** kosh_ has quit IRC | 21:53 | |
*** kosh_000__ has quit IRC | 21:53 | |
*** avoinea has quit IRC | 22:03 | |
*** yvl has quit IRC | 22:17 | |
*** Jan_Garaj3 has joined #zope | 22:42 | |
*** alecm has quit IRC | 23:13 | |
*** alecm has joined #zope | 23:13 | |
*** kosh has quit IRC | 23:14 | |
*** alecm has quit IRC | 23:25 | |
*** alecm has joined #zope | 23:25 | |
*** alecm has joined #zope | 23:25 | |
*** MrTango has quit IRC | 23:27 | |
*** Jan_Garaj3_ has joined #zope | 23:35 | |
*** Jan_Garaj3 has quit IRC | 23:36 | |
*** Jan_Garaj3_ is now known as Jan_Garaj3 | 23:36 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!