Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W wendelin
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • wendelin
  • Merge requests
  • !26

Closed
Created Aug 28, 2017 by Iliya Manolov@Thetechguy
  • Report abuse
Report abuse

WIP: Fixed DataStreams reindexing when appending new data

  • Overview 0
  • Commits 1
  • Changes 6

@Tyagov

ERP5 MR here.

Right now appending data to a DataStream causes ERP5's database to reindex that DataStream. This can take a lot of time on big DataStream objects without it being necessary. These 2 Merge Requests fix this issue.

The ERP5 MR adds a check upon trying to reindex an object and if that object is stored in the TransactionVariable (on the list contained on the key 'explicitly_deny_object_reindexation_list') it is excluded from reindexing in that transaction. This can be used for other cases where somebody might not want an object to be reindexed.

This MR adds the DataStream-specific changes. It adds a utility function to the Wendelin component for changing the TransactionVariable. It also adds a new Python script that is called before appending new data to a DataStream that adds it to the exception list for the transaction. There is also a new test in testWendelin(WIP) that checks if appending to a DataStream causes a reindexation and if changing another object doesn't.

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