Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 140
    • Merge requests 140
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: ERP5Type_no_immediate_reindexation
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7