An error occurred fetching the project authors.
- 22 Jan, 2009 1 commit
-
-
Vincent Pelletier authored
Rename "limit" parameter to ZSQLMethods into "count", as it is a special parameter name (interpreted outside of ZSQLMethod). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25253 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Nov, 2008 1 commit
-
-
Vincent Pelletier authored
Fix error log condition: length must be exactly 2 AND type must be either tuple or list (a string of more than 2 chars was enough to avoid the error message). Fix a typo in error message. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24586 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Oct, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24099 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Oct, 2008 1 commit
-
-
Vincent Pelletier authored
Store exception information on message in the case where commit fails, removing a possible cause for error messages with no error text. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24077 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Jul, 2008 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22741 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 Jul, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22648 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Only validate new messages; All other states are subsequent to a validation (regular of by user's choice by modifying sql tables). This fixes impossibility to invoke by hand validated messages not being executed when they have a serialization_tage set. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22647 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Jun, 2008 1 commit
-
-
Vincent Pelletier authored
Factorise code used to generate an unique identifier for messages (used to avoid inserting duplicate messages in the same transaction). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21754 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 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
-
- 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 5 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19196 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Message tag should not be a part of the message unicity key. This change avoids counting objects multiple times for messages which are identical except for tag. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19195 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19193 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Instead of deleting duplicate messages, reserve them, and delete them when the "original" message has succeeded. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19192 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
-
- 06 Feb, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19095 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
Oops, second part of commit 19087: there are 2 places to fix in SQLDict, oposed to just 1 in SQLQueue. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19088 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19087 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Feb, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19022 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 1 commit
-
-
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
-
- 31 Dec, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18568 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 26 Dec, 2007 1 commit
-
-
Vincent Pelletier authored
Cause partial execution failure to abort transaction. When some messages succeeded and some failed, make successful messages available for immediate processing, and make failed messages go through usual conditions (involves postponing them). This fixes a stupid mistake in makeMessageListAvailable invoquation on delay_uid_list instead of [uid] in finalizeMessageExecution.. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18526 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Dec, 2007 1 commit
-
-
Vincent Pelletier authored
Fix SQLQueue_rollback acquisition context. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18507 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
-
- 29 Nov, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17912 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 26 Nov, 2007 1 commit
-
-
Sebastien Robin authored
SQLDict, we can select messages with any date if there are already validated - delete duplicate messages into sqldict even if the tag are different betweend them, like it was working previously git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17792 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
-
- 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
-
- 06 Aug, 2007 1 commit
-
-
Aurel authored
pass group_method_id parameter when reading uid for a group git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15493 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Jul, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15183 20353a03-c40f-0410-a6d1-a30d3c3de9de
-