Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !579

Closed
Created Feb 14, 2018 by Vincent Pelletier@vpelletierOwner
  • Report abuse
Report abuse

ERP5Type: reduce usage of immediate reindexation, light indexation rework in ZSQLCatalog

  • Overview 36
  • Commits 7
  • Changes 18

There are two rather independent changes here, both touching indexation:

  • Simplifying indexation code in ZSQLCatalog, fixing indexation activity failure when the same document is present twice in a single indexation call (happens when CMFActivity does not merge all indexation calls for a given document, which is not a bug but merely a minor lack of optimisation).
  • Reduce calls to immediate reindexation, by forbidding its use from restricted python. Immediate reindexation is generally dangerous, as it can desynchronise catalog with ZODB because of race-conditions between ZODB and SQL databases, and differences in the way both handle conflicts.

I have more indexation work queued, that I intend to submit by chunks to avoid monter-merge-requests that no-one can review.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ERP5Type_no_immediate_reindexation
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7