IRC log of #zope for Tuesday, 2014-10-14

*** Arfrever has quit IRC00:14
*** J1m has quit IRC00:16
*** J1m has joined #zope00:17
*** stevegt__ has joined #zope01:25
*** J1m has quit IRC01:35
*** rbanffy has quit IRC01:38
*** mup_ has joined #zope02:28
*** mup has quit IRC02:28
*** mup_ is now known as mup02:28
*** tiwula has quit IRC02:52
*** roq_1 has joined #zope03:08
*** roq_ has quit IRC03:10
*** KageSenshi has quit IRC03:28
*** menesis has quit IRC03:30
*** Jan_Garaj3 has quit IRC03:54
*** KageSenshi has joined #zope04:25
*** KageSenshi has joined #zope04:25
*** KageSenshi has quit IRC04:41
*** KageSenshi has joined #zope04:55
*** ucokfm has joined #zope04:58
*** ucokfm has quit IRC05:16
*** mup_ has joined #zope05:44
*** MatzeWilkes has joined #zope05:52
*** mup has quit IRC05:54
*** MatthewWilkes has quit IRC05:54
*** ajmitch_ has quit IRC05:54
*** MatzeWilkes is now known as MatthewWilkes05:54
*** mup_ is now known as mup05:54
*** ajmitch has joined #zope05:56
*** ajmitch has quit IRC06:00
*** ajmitch has joined #zope06:00
*** KageSenshi has quit IRC06:02
*** KageSenshi has joined #zope06:19
*** KageSenshi has quit IRC06:30
*** KageSenshi has joined #zope06:42
*** KageSenshi has quit IRC07:01
*** yvl has joined #zope07:45
*** projekt01 has joined #zope08:16
*** agroszer has joined #zope08:35
*** fdrake has quit IRC08:40
*** RiverRat has quit IRC08:40
*** KageSenshi has joined #zope08:44
*** fdrake has joined #zope08:46
*** RiverRat has joined #zope08:46
*** Arfrever has joined #zope09:02
*** tisto has joined #zope09:19
*** __mac__ has joined #zope09:52
*** giacomos has joined #zope10:02
*** PeterZ1 has joined #zope10:12
*** KageSenshi has quit IRC10:30
*** jakke has joined #zope10:31
*** Jan_Garaj3 has joined #zope10:53
*** MrTango has joined #zope10:58
*** MrTango has quit IRC11:01
*** MrTango has joined #zope11:01
*** stereo_ has joined #zope11:15
*** Jan_Garaj3 has quit IRC11:44
*** fredvd has joined #zope11:48
*** menesis has joined #zope11:51
*** projekt01 has quit IRC12:43
*** menesis has quit IRC13:04
*** benji has joined #zope13:56
*** menesis has joined #zope14:32
*** menesis has left #zope14:41
*** PeterZ1 has left #zope14:44
*** fredvd has quit IRC15:06
*** menesis has joined #zope15:10
*** KageSenshi has joined #zope15:43
*** projekt01 has joined #zope16:15
*** J1m has joined #zope16:17
jakkeok guys, another transaction question, trying to debug a bit more16:33
jakkeI'm putting an afterCommitHook into my code, just to log some extra transaction context like request, stacktrace, stuff like that16:33
jakkebut my transaction object has no tid, no id, no _p_tid, no _p_serial16:34
jakkehow to find out the tid?16:34
mgedmintid as in the transaction ID you see in a FileStorage transaction record header?16:38
mgedminit's not part of the transaction; it's created in BaseStorage.tpc_begin()16:38
jakkedarn16:38
*** yvl has quit IRC16:38
mgedminif two storages join the same transaction, they each might use different tids for the same commit16:38
jakkeok, that makes sens, but doesn't make my task easier :à16:39
mgedminimplementation detail time (hey, if you're debugging, it may be sufficient): storage._tid contains the TID of the last committed transaction16:39
mgedminif you have a storage, you can dig this out16:39
jakkeyeah, I have a storage16:39
jakkethe 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
jakkebut the tid is a must to prove right or wrong about the relation between the undo log message and broken data16:41
jakkebut I should be able to use storage._tid in the afterCommitHook I suppose16:41
mgedminit's worth a try16:42
jakkethe wonder world of transactions and ZODB :D16:42
jakkethx!16:42
*** povbot has joined #zope16:55
*** fredvd has joined #zope17:01
*** agroszer has quit IRC17:03
*** menesis1 is now known as menesis17:16
*** stevegt__ has quit IRC17:21
*** tiwula has joined #zope17:44
*** jakke has left #zope17:45
*** stevegt__ has joined #zope17:48
*** __mac__ has quit IRC17:54
*** stevegt__ has quit IRC18:13
*** rbanffy has joined #zope18:21
*** kosh has joined #zope18:51
*** fredvd has quit IRC18:52
*** kosh has quit IRC19:13
*** tisto has quit IRC19:25
*** stereo_ has quit IRC19:27
*** kosh has joined #zope19:39
*** projekt01 has quit IRC19:46
*** J1m has quit IRC20:17
*** J1m has joined #zope20:18
*** Jan_Garaj3 has joined #zope20:20
*** giacomos has quit IRC20:43
*** menesis has quit IRC21:02
*** stevegt__ has joined #zope21:06
*** kosh has quit IRC21:16
*** giacomos has joined #zope21:44
*** Jan_Garaj3 has quit IRC21:52
*** MrTango has quit IRC22:06
*** Jan_Garaj3 has joined #zope22:11
*** menesis has joined #zope22:47
*** stereo_ has joined #zope22:51
*** giacomos has quit IRC23:02
*** stevegt__ has quit IRC23:42
*** giacomos has joined #zope23:50

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!