- 09 Nov, 2010 16 commits
-
-
Vincent Pelletier authored
Move startup code to ThreadedPoll class. Refcount-ish based would be better, so add a TODO (idea: browse existing connections to see if there are pending responses, preventing thread shutdown). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2453 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, factorise existing checks. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2452 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2451 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2450 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2449 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2448 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2447 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2446 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2445 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2444 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2443 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
This is mainly usefull to disable compression. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2442 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2441 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This can happen if object creation was transactionally undone, and database was packed. Update test. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2440 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, use getOID to generate tightly consecutive TIDs. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2439 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2438 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 08 Nov, 2010 12 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2437 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This requires explicitly collecting garbage if we get disconnected from primary master. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2436 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
For future extension. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2435 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2434 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, improve test (try to break code in tests, don't test unneeded properties). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2433 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2432 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2431 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2430 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2429 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2428 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2427 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
A storage might notify the master after the cluster as fall down to the verification state. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2426 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 05 Nov, 2010 10 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2425 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2424 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2423 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This is used by zodbshootout, for example, to only flush storage's cache. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2422 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2421 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This should increase process responsiveness when a single _poll call fetched many packets: as long as packet queue is not empty, no epoll.poll call was made. This means that outgoing packets were kept in our buffer until packet queue becomes empty. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2420 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Some requests can be safely ignored when received over a closed connection. This was previously done explicitly in handlers, but it turns out it would cause a lot of code duplication. Instead, define the policy on a packet type basis, and apply it to all packets upon reception, before passing it to handler. Also, protect request handlers when they respond, as connection might be closed. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2419 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Those responses are implemented using Error packets. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2418 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This change has an important effect on "abort" call in client handler: once primary master node locked a transaction, a client must not be allowed to abort it (it already asked to commit). Also, remove parameter value in abortFor (it is the new default behaviour). Also, document abort a bit more. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2417 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2416 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 04 Nov, 2010 2 commits
-
-
Vincent Pelletier authored
This should improve replication & pack performance. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2415 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- set master_conn to None to clarify disconnection - purge node pool after closing all connections - allow restarting polling thread after its shutdown Also, only start polling thread when needed (side-effect of last point). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2414 71dcc9de-d417-0410-9af5-da40c76e7ee4
-