- 24 Jul, 2008 5 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
for objects that were explicitly added to a database if the object was modified after a savepoint that added the object.
-
- 14 Jul, 2008 7 commits
-
-
Jim Fulton authored
invalidation messages are recived after the cache is closed.
-
Christian Theune authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
Changed connections to work with unset (None) clients. Messages aren't forwarded until the client is set. This is to prevent sending spurious invalidation messages until a client is ready to recieve them.
-
Jim Fulton authored
-
- 08 Jul, 2008 5 commits
-
-
Jim Fulton authored
clients, but ZEO clients haven't provided very good protection, leading to cache corruption. We'll hopefully fix these client issues, which cause other problems beside cache corruption, but it seems prudent to provide low-level cache protection.
-
Jim Fulton authored
should close the old connection, and mark ourselves dissconnected -- or so it seems. :) I'm chasing connection-invalidation bugs and this rearrangement makes the logic seem a bit simpler to me and sets the stage for a later fix for the invalidation problems.
-
Jim Fulton authored
-
Jim Fulton authored
read_only. It was set when a connection was tested, before the connection was attached t the storage. This made me wonder if the flag and connection could get out of sync. Because of details of the complex connection dance, it appears that the flag will have a usable value, almost by accident. Ironically, if the storage was opened read-only, this flag was set to true. This all seemed very fragile, and probably a bug magnet. I refactored this so the flag is on the connection, rather than the storage. I also arranged that if the storage is opened read-only, the flag is True.
-
Jim Fulton authored
of intermittent test failures. In ConnectionTests, a random port was selected without checking if it was in use. testZEO.get_port (moved to forker) picked a random port, checking if it was in use, but clients actually used that port *and* the following one. Now check that the returned and subsequent ports are free. (Of course, they could get used betweed the time they're selected and the time they are used by the test. Oh well.
-
- 28 May, 2008 1 commit
-
-
Jim Fulton authored
-
- 23 May, 2008 2 commits
-
-
Jim Fulton authored
avoid spurious errors on exit, especially for scripts, such as zeopack.
-
Jim Fulton authored
-
- 14 May, 2008 2 commits
-
-
Jim Fulton authored
effective. :)
-
Jim Fulton authored
references across databases when the referenced database has an empty name.
-
- 13 May, 2008 3 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
was astronomical. Also greatly simplified the code.
-
- 12 May, 2008 1 commit
-
-
Jim Fulton authored
-
- 11 May, 2008 1 commit
-
-
Jim Fulton authored
refactoring to simplify the data structures to fix a serious memory bug: the cache uses waaaay the heck too much.
-
- 09 May, 2008 1 commit
-
-
Fred Drake authored
object will properly switch to longs when over/underflowing 32-bit values
-
- 07 May, 2008 1 commit
-
-
Jim Fulton authored
-
- 06 May, 2008 1 commit
-
-
Jim Fulton authored
-
- 05 May, 2008 2 commits
-
-
Christian Theune authored
-
Jim Fulton authored
- Cache records are written in several stems. If a process exits after writing begins and before it is finishes, the cache will be corrupt on restart. The way records are writted was changed to make cache record updates atomic. - There was no lock file to prevent opening a cache multiple times at once, which would lead to corruption. Persistent caches now use lock files, in the same way that file storages do. - A bug in the cache-opening logic led to cache failure in the unlikely event that a cache has no free blocks.
-
- 03 May, 2008 3 commits
-
-
Jim Fulton authored
-
Wichert Akkerman authored
-
Wichert Akkerman authored
-
- 02 May, 2008 1 commit
-
-
Jim Fulton authored
When using ZEO Client Storages, Errors occured when trying to store objects too big to fit in the ZEO cache file.
-
- 09 Apr, 2008 1 commit
-
-
Fred Drake authored
-
- 15 Mar, 2008 1 commit
-
-
Marius Gedminas authored
-
- 11 Feb, 2008 1 commit
-
-
Christian Theune authored
-
- 08 Feb, 2008 1 commit
-
-
Christian Theune authored
-