*** Arfrever has quit IRC | 00:14 | |
*** J1m has quit IRC | 00:16 | |
*** J1m has joined #zope | 00:17 | |
*** stevegt__ has joined #zope | 01:25 | |
*** J1m has quit IRC | 01:35 | |
*** rbanffy has quit IRC | 01:38 | |
*** mup_ has joined #zope | 02:28 | |
*** mup has quit IRC | 02:28 | |
*** mup_ is now known as mup | 02:28 | |
*** tiwula has quit IRC | 02:52 | |
*** roq_1 has joined #zope | 03:08 | |
*** roq_ has quit IRC | 03:10 | |
*** KageSenshi has quit IRC | 03:28 | |
*** menesis has quit IRC | 03:30 | |
*** Jan_Garaj3 has quit IRC | 03:54 | |
*** KageSenshi has joined #zope | 04:25 | |
*** KageSenshi has joined #zope | 04:25 | |
*** KageSenshi has quit IRC | 04:41 | |
*** KageSenshi has joined #zope | 04:55 | |
*** ucokfm has joined #zope | 04:58 | |
*** ucokfm has quit IRC | 05:16 | |
*** mup_ has joined #zope | 05:44 | |
*** MatzeWilkes has joined #zope | 05:52 | |
*** mup has quit IRC | 05:54 | |
*** MatthewWilkes has quit IRC | 05:54 | |
*** ajmitch_ has quit IRC | 05:54 | |
*** MatzeWilkes is now known as MatthewWilkes | 05:54 | |
*** mup_ is now known as mup | 05:54 | |
*** ajmitch has joined #zope | 05:56 | |
*** ajmitch has quit IRC | 06:00 | |
*** ajmitch has joined #zope | 06:00 | |
*** KageSenshi has quit IRC | 06:02 | |
*** KageSenshi has joined #zope | 06:19 | |
*** KageSenshi has quit IRC | 06:30 | |
*** KageSenshi has joined #zope | 06:42 | |
*** KageSenshi has quit IRC | 07:01 | |
*** yvl has joined #zope | 07:45 | |
*** projekt01 has joined #zope | 08:16 | |
*** agroszer has joined #zope | 08:35 | |
*** fdrake has quit IRC | 08:40 | |
*** RiverRat has quit IRC | 08:40 | |
*** KageSenshi has joined #zope | 08:44 | |
*** fdrake has joined #zope | 08:46 | |
*** RiverRat has joined #zope | 08:46 | |
*** Arfrever has joined #zope | 09:02 | |
*** tisto has joined #zope | 09:19 | |
*** __mac__ has joined #zope | 09:52 | |
*** giacomos has joined #zope | 10:02 | |
*** PeterZ1 has joined #zope | 10:12 | |
*** KageSenshi has quit IRC | 10:30 | |
*** jakke has joined #zope | 10:31 | |
*** Jan_Garaj3 has joined #zope | 10:53 | |
*** MrTango has joined #zope | 10:58 | |
*** MrTango has quit IRC | 11:01 | |
*** MrTango has joined #zope | 11:01 | |
*** stereo_ has joined #zope | 11:15 | |
*** Jan_Garaj3 has quit IRC | 11:44 | |
*** fredvd has joined #zope | 11:48 | |
*** menesis has joined #zope | 11:51 | |
*** projekt01 has quit IRC | 12:43 | |
*** menesis has quit IRC | 13:04 | |
*** benji has joined #zope | 13:56 | |
*** menesis has joined #zope | 14:32 | |
*** menesis has left #zope | 14:41 | |
*** PeterZ1 has left #zope | 14:44 | |
*** fredvd has quit IRC | 15:06 | |
*** menesis has joined #zope | 15:10 | |
*** KageSenshi has joined #zope | 15:43 | |
*** projekt01 has joined #zope | 16:15 | |
*** J1m has joined #zope | 16:17 | |
jakke | ok guys, another transaction question, trying to debug a bit more | 16:33 |
---|---|---|
jakke | I'm putting an afterCommitHook into my code, just to log some extra transaction context like request, stacktrace, stuff like that | 16:33 |
jakke | but my transaction object has no tid, no id, no _p_tid, no _p_serial | 16:34 |
jakke | how to find out the tid? | 16:34 |
mgedmin | tid as in the transaction ID you see in a FileStorage transaction record header? | 16:38 |
mgedmin | it's not part of the transaction; it's created in BaseStorage.tpc_begin() | 16:38 |
jakke | darn | 16:38 |
*** yvl has quit IRC | 16:38 | |
mgedmin | if two storages join the same transaction, they each might use different tids for the same commit | 16:38 |
jakke | ok, that makes sens, but doesn't make my task easier :à | 16:39 |
mgedmin | implementation detail time (hey, if you're debugging, it may be sufficient): storage._tid contains the TID of the last committed transaction | 16:39 |
mgedmin | if you have a storage, you can dig this out | 16:39 |
jakke | yeah, I have a storage | 16:39 |
jakke | the point I'm debugging is this: we see data going corrupt, and we see in the undo log a "view" by ' None', so I'm logging a stacktrace and request and that kind of stuff when a transaction by " None" is done (the space is important!) | 16:40 |
jakke | but the tid is a must to prove right or wrong about the relation between the undo log message and broken data | 16:41 |
jakke | but I should be able to use storage._tid in the afterCommitHook I suppose | 16:41 |
mgedmin | it's worth a try | 16:42 |
jakke | the wonder world of transactions and ZODB :D | 16:42 |
jakke | thx! | 16:42 |
*** povbot has joined #zope | 16:55 | |
*** fredvd has joined #zope | 17:01 | |
*** agroszer has quit IRC | 17:03 | |
*** menesis1 is now known as menesis | 17:16 | |
*** stevegt__ has quit IRC | 17:21 | |
*** tiwula has joined #zope | 17:44 | |
*** jakke has left #zope | 17:45 | |
*** stevegt__ has joined #zope | 17:48 | |
*** __mac__ has quit IRC | 17:54 | |
*** stevegt__ has quit IRC | 18:13 | |
*** rbanffy has joined #zope | 18:21 | |
*** kosh has joined #zope | 18:51 | |
*** fredvd has quit IRC | 18:52 | |
*** kosh has quit IRC | 19:13 | |
*** tisto has quit IRC | 19:25 | |
*** stereo_ has quit IRC | 19:27 | |
*** kosh has joined #zope | 19:39 | |
*** projekt01 has quit IRC | 19:46 | |
*** J1m has quit IRC | 20:17 | |
*** J1m has joined #zope | 20:18 | |
*** Jan_Garaj3 has joined #zope | 20:20 | |
*** giacomos has quit IRC | 20:43 | |
*** menesis has quit IRC | 21:02 | |
*** stevegt__ has joined #zope | 21:06 | |
*** kosh has quit IRC | 21:16 | |
*** giacomos has joined #zope | 21:44 | |
*** Jan_Garaj3 has quit IRC | 21:52 | |
*** MrTango has quit IRC | 22:06 | |
*** Jan_Garaj3 has joined #zope | 22:11 | |
*** menesis has joined #zope | 22:47 | |
*** stereo_ has joined #zope | 22:51 | |
*** giacomos has quit IRC | 23:02 | |
*** stevegt__ has quit IRC | 23:42 | |
*** giacomos has joined #zope | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!