Skip to content

PCSM. Test to validate handling of path-collision issued during clone phase#554

Open
sandraromanchenko wants to merge 1 commit into
mainfrom
PCSM-314
Open

PCSM. Test to validate handling of path-collision issued during clone phase#554
sandraromanchenko wants to merge 1 commit into
mainfrom
PCSM-314

Conversation

@sandraromanchenko
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new PCSM pytest regression test that attempts to reproduce and validate correct handling of a change-stream “path-collision” update sequence occurring while the target is still in the clone phase.

Changes:

  • Introduces a clone-phase timing test that delays cloning via large “filler” collections.
  • Applies two ordered updates ($set arr.0.lastScrapeAt, then $set arr.0 = null) during clone and asserts the final synced document matches.
  • Runs post-sync data integrity validation and checks PCSM logs for errors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pcsm-pytest/test_clone_event_skew.py
Comment thread pcsm-pytest/test_clone_event_skew.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants