An error occurred fetching the project authors.
- 04 Apr, 2008 2 commits
-
-
Vincent Pelletier authored
Mark messages as not executable when either their path or the method to call on it cannot be retrieved. Make messages marked as not excutable immediately fail with VALIDATE_ERROR_STATE state. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20311 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
When SQL{Dict|Queue}_delMessage gets a lock error, retry. Do so infinitely, otherwise uid list would be lost and manual intervention would be required. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20306 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Mar, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20047 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Feb, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19431 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Feb, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19405 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19389 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Feb, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19193 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Store exception information in native format inside message. Factorises sys.exc_info calls and exception rendering code. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19169 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 Feb, 2008 4 commits
-
-
Vincent Pelletier authored
Lower log priority from PANIC to ERROR for message status handling definitive errors (reserve PANIC priority to permanent data inconsistency). When a PANIC level error happens, re-raise after logging instead of simply returning. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19090 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19089 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19077 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Abort transaction before doing anything else: if it was transaction commit which raised, the transaction object will refuse subsequent "join" calls. Add some zope transation backward compatibility black magic and you get a TM instance which gets stalled in "registered" state while no transaction knows it. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19076 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Feb, 2008 5 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19022 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19020 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19017 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19016 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Upgrade LOG criticalness to PANIC level when the raising code causes messages to be left with processing=1. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19015 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Feb, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19004 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Call SQLDict_rollback/SQLQueue_rollback before makeMessageListAvailable. Similar fix is already applied to activity failure error path, but not to activity commit/abort error path. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18999 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 01 Feb, 2008 1 commit
-
-
Vincent Pelletier authored
Call notifyUser after doing activity state cleanup. This makes it less problematic if it raises (activities are already in a clean state). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18985 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Jan, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18927 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Jan, 2008 1 commit
-
-
Yoshinori Okuji authored
Override finishQueueMessage and finishDeleteMessage to do nothing in SQLQueue and SQLDict. Otherwise, messages are accumulated in RAM infinitely, due to RAMDict and RAMQueue. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18755 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Dec, 2007 1 commit
-
-
Vincent Pelletier authored
Fix commit being issued inconditionaly between activites: "regular" activity failure do *not* cause "invoke" to raise, but cause is_executed to be false. Fix SQLQueue_rollback acquisition context. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18508 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Dec, 2007 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18467 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Nov, 2007 1 commit
-
-
Sebastien Robin authored
failure occured a commit time. So this ended by deleted a message wich was not really processed because not commited. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17815 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Nov, 2007 1 commit
-
-
Sebastien Robin authored
Make ActivityTool:Message.getObjectList simple to use: detect internaly wether an expand method must be called, catch exception when object on which the activity was executed cannot be found. Remove broadcast message support. Merge indexes on processing_node and processing columns on both message and message_queue tables. Always use SQL server's time. Do not update processing node value when setting the message as being processed. Commit SQL connection as soon as messages get assigned to reduce lock duration. Make SQLDict ZSQLMethods support list of uids instead of single value per call. Make ZSQLMethod handle processing_node differently if it's 0 or None (when not passed as parameter, behave as if it's None). Do not force all parameters to be passed to SQLQueue_setPriority. Factorise SQL code inside <dtml-if> blocks. Allow to select ranges of lines in readMessageList with a custom offset. When reseting message processing state at first activity execution pass after a node start, also reset the processing_node. Commit SQL connection as soon as messages are set to processing state, mainly to make it visible outside current connection. Add a common class for SQL-using activity queues. CMFActivity/Activity/SQLDict.py Remove unused (and broken) prepareQueueMessage method. Replace a tab by spaces. Add ZSQLMethod wrappers for new ZSQLMethods. Split dequeueMessage into dequeueMessage, getProcessableMessageList, finalizeMessage_Execution. Return True instead of 0 in case of an important error, in order to prevent CMFActivity from doing infinite loops over dequeueMessage when something goes wrong. CMFActivity/Activity/Queue.py Allow caller to specify the current date and transmit it when recursing. Fallback on DateTime (calculate just once) if not specified. CMFActivity/Activity/SQLQueue.py Precompute parameters in prepareQueueMessage to make it easier to add a log when needed. Also reduces the distance with SQLDict's equivalent method. Add ZSQLMethod wrappers for new ZSQLMethods. Split dequeueMessage into dequeueMessage, getProcessableMessageList, finalizeMessage_Execution. Return True instead of 0 in case of an important error, in order to prevent CMFActivity from doing infinite loops over dequeueMessage when something goes wrong. Add scripts to monitor activity distribution. Remove unused ZSQLMethods. Add new ZSQLMethods related to the new distribution scheme and SQL server time grabbing. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17759 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Nov, 2007 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17628 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Nov, 2007 1 commit
-
-
Vincent Pelletier authored
Use timestamp instead of DateTime. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17491 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Nov, 2007 1 commit
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17450 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Oct, 2007 1 commit
-
-
Sebastien Robin authored
a lot performance under very high load - add a round_robin_scheduling parameter for SQLQueue so that all messages on a same path will not be processed on the same node git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17268 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Oct, 2007 1 commit
-
-
Vincent Pelletier authored
Save last used processing node in a global variable. This avoids the case where all activities are assigned to first node when there is just one activity to distribute per distribute call. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16828 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Sep, 2007 1 commit
-
-
Vincent Pelletier authored
Make possible to process more than one message per dequeueMessage call. This factorises MySQL access cost which is rather high because of a sort occuring in the query. SQLQueue_readMessage will still return just one message by default, so behaviour will not change unless default number of fetched rows is increased in that ZSQLMethod. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16505 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 Sep, 2007 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16294 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
SQLQueue do not balances activities, it gives them all to a single node. So remove multi-node related code for cases where message is not marked as broadcast. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16292 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Sep, 2007 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16256 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 18 May, 2007 1 commit
-
-
Yoshinori Okuji authored
Abort a transaction synchronously, so that the status of connections and databases are updated after abort. This is a hack, but should work fine with all versions of Zope. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14517 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Apr, 2007 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14040 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
and fix some bugs. The basic idea is to track a dependency graph to find executable messages quickly. This makes the activity system far more efficient, when you have many inter-dependent messages queued in the tables. Also, this obsoletes the time shifting in the schedulers, as executable messages can be found in a more efficient manner. So the activity parameter "at_date" should work expectedly. Now the API of validate methods in Activities return a list of message objects instead of a boolean value. Such a list contains messages that are depended upon by a given message. The validate method in Message accepts a new optional parameter, check_order_validation, to indicate whether order validation should be performed. The default behavior has not changed. getDependentMessageList is added to ActivityTool, Queue and Message. This method collects dependent message for a given message from all activities. There are some other subtle changes. Look at the diffs for more details. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14039 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Mar, 2007 1 commit
-
-
Vincent Pelletier authored
Use portal_ids to generate message uids instead of using MySQL AUTO_INCREMENT. This will lower deadlock probability by removing the one caused by AUTO_INCREMENT table-level lock. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13757 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Mar, 2007 1 commit
-
-
Yoshinori Okuji authored
Do not delay or set to an error if an exception is raised in dequeueMessage, because invoke or invokeGroup should never emit an exception, so an exception should be nothing with a message itself. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13713 20353a03-c40f-0410-a6d1-a30d3c3de9de
-