Skip to content

Conversation

@marcocapozzoli
Copy link
Collaborator

@marcocapozzoli marcocapozzoli commented Nov 21, 2025

I changed the insert_one method to upsert_document because I'm adding add_pattern_index_schema() to the main file of AtomDBBroker. Therefore, whenever the container was stopped and restarted, a duplicate_key error occurred in MongoDB.

@marcocapozzoli marcocapozzoli changed the title Replace insert_one() with upsert_document() [#958] Replace insert_one() with upsert_document() Nov 25, 2025
@marcocapozzoli marcocapozzoli merged commit aa5d306 into master Dec 3, 2025
2 checks passed
@marcocapozzoli marcocapozzoli deleted the masc/redismongo-add-index branch December 3, 2025 17:46
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