- 27 Aug, 2010 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2232 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
FileStorage.copyTransactionsFrom doesn't have a verbose parameter in its latest version. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2231 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Avoid switching to an unexpected interpreter after forking. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2230 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 26 Aug, 2010 7 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2229 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2228 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This has been deprecated at least in Zope 2.8.8, maybe earlier. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2227 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2226 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2225 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2224 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, reverts r2197, as it is unclear what bug it was trying to fix, and it doens't seem required (there is no call to Replicator.act() outside of doOperation). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2223 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 Aug, 2010 4 commits
-
-
Vincent Pelletier authored
This causes garbage collection problems, as BaseConnection instances also hold a reference to HandlerSwitcher instance. It is unclear why it fails, as microbenchs show this should not be a problem for gc. Also, move loggers out of HandlerSwitcher.setHandler to avoid passing a connection parameter just for them. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2222 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
It is more efficient to provide a boundary value than a row count range. This fixes replication on partitions with a large number of objects, revisions or transactions: query time is now constant where it used to increase, causing timeout problems when query duration exceeded ping time + ping timeout (11s currently). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2221 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2220 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Previous name was too close to the regular-user SQL connection getter. Also, prevent subclasses from calling it. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2219 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 23 Aug, 2010 6 commits
-
-
Vincent Pelletier authored
This made it impossible to detect when a storage didn't contain an object. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2218 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
It is not possible to move them out of container loop, as tid is a loop variable. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2217 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, stop using a dict in an inefficient way, and replace it by a set. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2216 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2215 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, factorises packet creation. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2214 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2213 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 20 Aug, 2010 1 commit
-
-
Vincent Pelletier authored
onConnectionClosed is already called inside Connection.close() when peer is identified (via setOnClose). Calling it here would trigger an exception as it verifies that _connection is set before un-setting it. As a replacement, verify that _connection is not set when Connection.close() returns (so onConnectionClosed was actually called). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2212 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 19 Aug, 2010 10 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2211 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2210 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
It is possible for rid not to be in partition_dict or new_partition_dict, as this method is called from a master notification (partition changed), which might happen outside of any replication (so when both dicts are empty). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2209 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2208 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2207 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2206 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2205 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2204 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2203 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2202 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 04 Aug, 2010 9 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2201 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2200 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2199 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2198 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
The replicator must be stopped to avoid storages request unfinished transactions to the master while it is not able to answer. This prevent from considering the storage as broken. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2197 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2196 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
If a client connect to a storage more than one time, cut the old connection and replace it by the new one. This is required if the client reconnect to fast and the storage handle in single poll loop the new connection *then* the lost of the previous connection. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2195 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
The only purpose on this is to have the log in setHandler() that display the connection's UUID instead of None. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2194 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2193 71dcc9de-d417-0410-9af5-da40c76e7ee4
-