An error occurred fetching the project authors.
- 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
-
- 26 Jun, 2007 2 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14969 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
with the same group_method_id git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14961 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
-
- 15 May, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14490 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 Apr, 2007 1 commit
-
-
Jérome Perrin authored
There was no reason to use elif in SQLDict.countMessage git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14219 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Apr, 2007 1 commit
-
-
Yoshinori Okuji authored
Set processing_node in SQLDict_processMessage, so that the processing states of messages are reset correctly when Zope is restarted. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14153 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
-
- 04 Apr, 2007 1 commit
-
-
Yoshinori Okuji authored
For INVALID_ORDER, it is a bad idea to specify processing_node, because processMessage may set processing to 1, even if messages are not assigned to a given node. Thus simply specify the uid list instead. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13951 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Mar, 2007 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13756 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
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@13742 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
-
- 26 Mar, 2007 2 commits
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13673 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13658 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Mar, 2007 1 commit
-
-
Jérome Perrin authored
class, now we have the exception instance, so use isinstance instead of issubclass git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13601 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Mar, 2007 1 commit
-
-
Jérome Perrin authored
store the exception in a variable to make sure we have the right one. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13550 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Mar, 2007 1 commit
-
-
Jérome Perrin authored
TypeError: LOG() got an unexpected keyword argument 'e' git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13509 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Mar, 2007 1 commit
-
-
Sebastien Robin authored
make sure the list of uid is not empty when we delete message, this should fix a random problem in testERP5Catalog git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13429 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 Mar, 2007 1 commit
-
-
Vincent Pelletier authored
Do queue new activities even if there is already activities on same object with same method id but with different tag. Add a unit test for this feature (and general behaviour of the key function behind this). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13415 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Mar, 2007 1 commit
-
-
Jérome Perrin authored
be put in INVOKE_ERROR_STATE, but we will LOG a traceback (maybe we should also call notifyUser). remove the obsolete comment "what happens if read conflict error restarts transaction", because this is handled explicitly here. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13404 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Mar, 2007 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13243 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Mar, 2007 2 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13240 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13239 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Mar, 2007 2 commits
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13188 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Sebastien Robin authored
deleting messages wich were not VALID, without execution !! - Wrote a test to show that the bug is currently fixed. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13180 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 31 Jan, 2007 1 commit
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12487 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Jan, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11901 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Dec, 2006 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11732 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Nov, 2006 1 commit
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11369 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Aug, 2006 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9392 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Jun, 2006 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8244 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 26 Jun, 2006 1 commit
-
-
Yoshinori Okuji authored
put the message into an error state immediately. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8166 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Jun, 2006 2 commits
-
-
Yoshinori Okuji authored
when a ConflictError occurs. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8157 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8156 20353a03-c40f-0410-a6d1-a30d3c3de9de
-