An error occurred fetching the project authors.
- 04 Nov, 2010 1 commit
-
-
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
-
- 07 Jun, 2010 2 commits
-
-
Vincent Pelletier authored
onStoreTimeout is called by poll thread, which causes a new local_var to be implicitly created with a new queue (specific to poll thread, which isn't supposed to have one). To know the queue that should receive AnswerHasLock, reuse the one registered to dispatcher to receive AnswerStoreObject. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2144 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This fixes cases where a thread is expecting some answer from queue, and a packet gets forgotten, as it would block until next expected packet arrives (if there is no next packet, it will wait forever). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2142 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 May, 2010 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2124 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 13 May, 2010 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2105 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 26 Apr, 2010 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2027 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 08 Mar, 2010 1 commit
-
-
Vincent Pelletier authored
Given measure points were used to search for hot spots in client around "store" method. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1911 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 16 Feb, 2010 4 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1775 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
It is important that unregistering a response from dispatcher and putting it in its queue are atomic at dispatcher level to support askStoreObject pipelining. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1772 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This fixes problems uncovered by current work on askStoreObject pipelining. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1771 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1770 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 12 Feb, 2010 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1726 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 10 Feb, 2010 1 commit
-
-
Vincent Pelletier authored
Makes it thread-safe (with detailed explanation on for each method). Makes it more efficient for unregister and registered uses. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1689 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Feb, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1576 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 13 Jan, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1420 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 07 Oct, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1362 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 30 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
use Dispatcher.unregister() to avoid duplicates. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1113 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 29 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
adn remove an XXX. Unify imports for protocol, remove unused variable. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1085 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 27 Jul, 2009 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1022 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1021 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1020 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 02 Apr, 2009 6 commits
-
-
Vincent Pelletier authored
- There is no need for dispatcher to be a thread - Polling thread does not need to be a dispatcher In turns, this allows simplifying Storage.__init__ by moving Dispatcher, ThreadedPoll and EventManager class instantiations to App class. Add a TODO about missing ThreadedPoll shutdown. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@323 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@322 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Move connectToPrimaryMasterNode from Dispatcher class to App class since it does not functionally belong to dispatcher. This simplifies connectToPrimaryMasterNode code and startup code a bit: - connectToPrimaryMasterNode does not need to manually poll to get a response (we use normal code for this) This removes a difference between initial master connection and a reconnection. - make App instance get a workable dispatcher from the beginning - make App handle initial master connection instead of Storage - rename "connector" parameter of connectToPrimaryMasterNode into "connector_handler", since it's what it really is Update caller (ClientEventHandler class). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@320 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Test for partition table readiness at the end of the loop before sleeping rather than at the begining. - prevents from sleeping before exiting the loop in the even of a successful connection attemp - partition table got flushed a few lines above, so this test is always true on the first loop iteration. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@315 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@314 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@313 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 Mar, 2009 8 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@276 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Remove the need to use a global queue for unexpected messages. They will be handled in the Dispatcher thread directly, to prevent them from piling up until a client enters app._waitMessage . git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@274 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
On the contrary of what is advertised by python manual, acquire doesn't accept any keyword argument... git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@272 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Make ClientEventHandler.dispatch call a method on Dispatcher class to avoid accessing instance properties from a foreign class. Make dispatch thread-safe by accessing message_table atomicaly. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@269 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Make Dispatcher.registered locally compute key value from connection, so that it is easier to change the way key is computed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@268 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@267 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Use a (non-blocking) lock to prevent two simultaneous reconnection attemps to master instead of a simple variable. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@266 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@265 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 12 Mar, 2009 1 commit
-
-
Aurel authored
objects independant from the low level library used git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@250 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 12 Jan, 2009 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@239 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 28 Oct, 2008 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@229 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 16 Feb, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@222 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 15 Feb, 2007 1 commit
-
-
Yoshinori Okuji authored
Use id rather than uuid for the message table, because it is more reliable, as it works even if a node identification is not finished. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@221 71dcc9de-d417-0410-9af5-da40c76e7ee4
-