Ticket #1553 (assigned defect)

Opened 14 years ago

Last modified 14 years ago

ConflictError in CPSPortlet on doc creation

Reported by: bdelbosc Owned by: jmorliaguet
Priority: P2 Milestone: CPS 3.5.7
Component: CPSPortlets Version: 3.4.0
Severity: normal Keywords: ConflictError tuning
Cc:

Description

ConflictError? in CPSPortlet on doc creation

This happens when creating multiple docs at the same time.

Module Products.CPSCompat.PatchPublisherConflictErrors, line 51, in zpublisher_exception_hook
Module ZPublisher.Publish, line 120, in publish
Module Zope2.App.startup, line 240, in commit
Module transaction._manager, line 96, in commit
Module Products.CPSCompat.PatchZODBTransaction, line 175, in commit
Module transaction._transaction, line 433, in _commitResources
Module ZODB.Connection, line 484, in commit
Module ZODB.Connection, line 518, in _commit
ConflictError: database conflict error (oid 0x2844, class Products.CPSPortl
ets.CPSPortlet.CPSPortlet)

Disabling envent notification on portal_cpsportlets remove this kind of conflicts.

I suspect the expireCache method on the navigation portlet.

Change History

comment:1 Changed 14 years ago by jmorliaguet

  • Status changed from new to assigned

I think I know how to fix it, but do you have a script that I can run to test this? how many documents per second simultaneously is that approximately?

comment:2 Changed 14 years ago by sfermigier

  • Milestone changed from CPS 3.4.1 to CPS 3.4.2
Note: See TracTickets for help on using tickets.