Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CsvimIT execution stability - improve files watching reset #4561

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

iliyan-velichkov
Copy link
Contributor

@iliyan-velichkov iliyan-velichkov commented Jan 13, 2025

Reset synchronization watcher when starting synch processing instead of doing it after the sync execution is completed.

The previous approach leads to skipped file modifications synchronizations, which occur during long synchronization executions.
Example: if a long running synchronization is executing and a file change is executed in parallel, when the running synchronization complete, it will reset the synch watcher. This will lead to skipped synch execution when the next processing is triggered .

This issue was found when investigating the instability of CsvimIT test execution.

Prevent resetting the watcher after the sync completion since this way it leads to skipped file modifications which occur during long synchronization executions.

Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
@iliyan-velichkov iliyan-velichkov self-assigned this Jan 13, 2025
@iliyan-velichkov iliyan-velichkov changed the title Fix CsvimIT - improve watching reset Fix CsvimIT execution stability - improve watching reset Jan 13, 2025
@iliyan-velichkov iliyan-velichkov changed the title Fix CsvimIT execution stability - improve watching reset Fix CsvimIT execution stability - improve files watching reset Jan 13, 2025
@iliyan-velichkov iliyan-velichkov merged commit 6e7c747 into master Jan 13, 2025
9 checks passed
@iliyan-velichkov iliyan-velichkov deleted the csvimtest branch January 13, 2025 12:04
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.

1 participant