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

Add Support to Upsert/Insert Ignore on PDB #388

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

victorcmg
Copy link
Contributor

  • Makes the implementation of DatabaseEngine optional, so it does not break compatibility with other library clients.

- Makes the implementation of DatabaseEngine optional, so it does not break compatibility with other library clients.
Copy link

@diogo-anjos-fdz diogo-anjos-fdz left a comment

Choose a reason for hiding this comment

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

LGTM! Just left a minor comment.

- Addresses comments: changes message in the default method implementation.
@diogo-anjos-fdz diogo-anjos-fdz merged commit d4f7c4e into feedzai:master Jun 22, 2023
33 checks passed
victorcmg pushed a commit to victorcmg/pdb that referenced this pull request Jul 3, 2023
victorcmg-fdz added a commit to victorcmg-fdz/pdb that referenced this pull request Aug 20, 2024
diogo-anjos-fdz pushed a commit that referenced this pull request Aug 22, 2024
Recently, it was added a support for the upsert of entries in the pdb library.

The feature added supported for entities to, when applicable, be able to be upserted or depending on the engine implementation, an insert ignore or even merge. The feature also enabled the upsert feature for batch processing, i.e. entries could now use the new upsert API. However, after its usage it was possible to conclude it decreased performance when client application used this new API. Giving the degrading performance and also the log messages some of the entities generated for not having the upsert statement available, it was decided to remove this feature entirely from the pdb code-base.

---
* Revert "Removes error logging for UPSERT command when creating an entity (#407)"
This reverts commit 94ba1a5.

* Revert "Add Support to Upsert/Insert Ignore on PDB (#392)"
This reverts commit 46f29b2.

* Revert "Add Support to Upsert/Insert Ignore on PDB (#389)"
This reverts commit 963cd30.

* Revert "Add Support to Upsert/Insert Ignore on PDB (#388)"
This reverts commit d4f7c4e.

* Revert "Add Support to Upsert/Insert Ignore on PDB"
This reverts commit d626297.

* Revert "Add Support to Upsert/Insert Ignore on PDB"
This reverts commit 1d32f7f.

* Revert "Add Support to Upsert/Insert Ignore on PDB"
This reverts commit 36a434c.

* Revert "Add Support to Upsert/Insert Ignore on PDB"
This reverts commit 1658965.

* Revert "Add Support to Upsert/Insert Ignore on PDB"
This reverts commit d2f153b.

* Revert "Add Support to Upsert/Insert Ignore on PDB"
This reverts commit 2f0d1ff

* Revert "Add Support to Upsert/Insert Ignore on PDB"
This reverts commit 348a22d

* Revert "Add Support to Upsert/Insert Ignore on PDB"
This reverts commit e100a51
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.

4 participants