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

Reverts the Support to Upsert/Insert Ignore on PDB #471

Merged
merged 12 commits into from
Aug 22, 2024

Conversation

victorcmg-fdz
Copy link
Collaborator

@victorcmg-fdz victorcmg-fdz commented Aug 20, 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.

This series of commit reverts the feature to upsert entries on pdb. The reverted commits reverted are as follows.

@victorcmg-fdz victorcmg-fdz self-assigned this Aug 20, 2024
@diogo-anjos-fdz diogo-anjos-fdz self-requested a review August 22, 2024 13:27
@victorcmg-fdz victorcmg-fdz marked this pull request as ready for review August 22, 2024 13:36
@diogo-anjos-fdz
Copy link

LGTM!

Just one quick note: please improve the PR summary with the rational/business need to revert these changes.
That is, are we reverting these because we are following a new direction, are we preparing for a refactoring, are we deprecating the feature?

@victorcmg-fdz
Copy link
Collaborator Author

LGTM!

Just one quick note: please improve the PR summary with the rational/business need to revert these changes. That is, are we reverting these because we are following a new direction, are we preparing for a refactoring, are we deprecating the feature?

good call! updated!

@diogo-anjos-fdz diogo-anjos-fdz merged commit 4562805 into feedzai:master Aug 22, 2024
33 checks passed
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.

2 participants