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

Fixes #24562: When moving an inventory to "received", check if other file for same node uuid exists and delete it #5509

Conversation

fanf
Copy link
Member

@fanf fanf commented Mar 21, 2024

https://issues.rudder.io/issues/24562

Normalize the file name before moving to received folder.
We never fail on the normalization, it seems less risky to have several time similar files in received than an unmatch error for an unforseen case.

@fanf fanf requested a review from amousset March 21, 2024 16:28
@fanf
Copy link
Member Author

fanf commented Mar 21, 2024

PR updated with a new commit

@fanf
Copy link
Member Author

fanf commented Mar 21, 2024

PR updated with a new commit

1 similar comment
@fanf
Copy link
Member Author

fanf commented Mar 22, 2024

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/5509
-- Your faithful QA
Kant merge: "Thoughts without content are empty, intuitions without concepts are blind."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/82076/console)

@fanf
Copy link
Member Author

fanf commented Mar 26, 2024

OK, squash merging this PR

@fanf fanf force-pushed the bug_24562/when_moving_an_inventory_to_received_check_if_other_file_for_same_node_uuid_exists_and_delete_it branch from 86ec8a4 to ef1ff0e Compare March 26, 2024 19:14
@fanf fanf merged commit ef1ff0e into Normation:branches/rudder/7.3 Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants