IRC log of #zope3-dev for Saturday, 2005-03-12

*** srichter has quit IRC00:53
*** andrew_m has quit IRC00:54
*** GaryPoster has quit IRC00:59
*** benji_york has quit IRC01:10
*** hazmat has joined #zope3-dev01:13
*** J1m|away has quit IRC01:20
*** srichter has joined #zope3-dev01:24
*** hazmat has quit IRC01:26
*** niemeyer has quit IRC01:34
*** tarek_ has quit IRC01:54
*** bradb has quit IRC01:56
*** BjornT has quit IRC01:57
*** tvon has quit IRC02:15
*** tvon has joined #zope3-dev03:59
*** tvon|desk has joined #zope3-dev04:08
*** tvon2 has joined #zope3-dev04:12
*** mgedmin has joined #zope3-dev04:47
mgedminI need some help with transactions and ZODB04:48
mgedminI'm trying to make my http request recorder thread-safe before committing it into trunk04:48
mgedminI'm trying to store data in a MappingStorage, because I want transactions04:48
mgedminI've copied RAMSessionDataStorage._getData almost verbatim04:49
mgedminafter a request is processed, I open a new transaction, change an IOBTree in my mapping storage, and commit the transaction04:50
mgedmin(in a loop that handles up to 10 ZODB conflict errors)04:50
mgedminproblem: in my browser view I see stale data04:51
mgedminI need to refresh the page a couple of times until I see an up-to-date view04:51
mgedminadding connection.sync to _getData kinda helps, but apparently it also discards all changes made to the data structure in the current transaction04:52
mgedminthis breaks my unit tests04:53
mgedminthe actual code works, because it makes at most one change per transaction (adds a single entry, or clears the list)04:54
mgedminbut it is a silly restriction to live with04:54
* mgedmin gives up and writes a nontransactional storage that uses locking for thread-safety05:29
*** GaryPoster has joined #zope3-dev05:33
*** mgedmin has quit IRC05:44
*** projekt01 has left #zope3-dev05:57
*** sm has joined #zope3-dev06:26
*** watzo has joined #zope3-dev08:23
*** watzo has quit IRC08:35
*** d2m has quit IRC09:13
*** tvon2 has quit IRC09:36
*** tvon2 has joined #zope3-dev09:36
*** Theuni has joined #zope3-dev10:15
*** d2m has joined #zope3-dev10:36
*** vlado has joined #zope3-dev11:11
*** vlado is now known as vlado|lunch12:55
*** ignas has quit IRC13:56
*** vlado|lunch is now known as vlado14:11
*** oferw has joined #zope3-dev14:14
*** ignas has joined #zope3-dev14:23
*** ignas_ has joined #zope3-dev14:23
*** ignas has quit IRC14:23
*** projekt01 has joined #zope3-dev14:31
*** mgedmin has joined #zope3-dev14:58
*** oferw has quit IRC15:14
*** tvon has quit IRC15:23
*** watzo has joined #zope3-dev15:39
*** `anthony has joined #zope3-dev15:42
*** tvon has joined #zope3-dev15:43
*** SureshZ has joined #zope3-dev15:43
*** projekt01 has left #zope3-dev15:58
*** SureshZ has quit IRC17:14
*** tvon has quit IRC17:15
*** bradb has joined #zope3-dev17:25
*** mgedmin has quit IRC17:26
*** bskahan has joined #zope3-dev17:46
*** tvon2_ has joined #zope3-dev18:03
*** tvon2 has quit IRC18:03
*** watzo has quit IRC18:11
*** vlado has quit IRC18:35
*** mohsen has quit IRC19:25
*** mohsen has joined #zope3-dev19:38
*** tvon2_ has quit IRC19:47
*** tvon2__ has joined #zope3-dev19:47
*** mohsen has quit IRC20:51
*** mohsen has joined #zope3-dev20:52
*** zagy has quit IRC21:17
*** mohsen is now known as mohsen-away21:37
*** zagy has joined #zope3-dev21:55
*** oferw has joined #zope3-dev21:59
*** bskahan has quit IRC22:09
*** zagy has quit IRC22:17
*** projekt01 has joined #zope3-dev23:16
*** zagy has joined #zope3-dev23:47
*** tvon has joined #zope3-dev23:59

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