An error occurred fetching the project authors.
- 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
-
- 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
-
- 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
-
- 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
-
- 11 Jan, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12021 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
-
- 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
-
- 12 Sep, 2006 1 commit
-
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9836 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
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8158 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
-
- 25 Mar, 2006 1 commit
-
-
Yoshinori Okuji authored
Remove .cvsignore. Repair broken image. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6278 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Feb, 2006 1 commit
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5768 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Feb, 2006 1 commit
-
-
Alexandre Boeglin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5665 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Feb, 2006 1 commit
-
-
Alexandre Boeglin authored
not being currently processed when starting zope, or they will be kept as zombies in the SQL tables, blokcing other activities using after_method_id. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5658 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Dec, 2005 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4877 20353a03-c40f-0410-a6d1-a30d3c3de9de
-