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

WIP: tentative increment change, in reference to issue #39 #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zboldyga
Copy link

Description of change

(write a short description here or paste a link to JIRA)

QA steps

  • automated tests passing
  • manual qa steps passing (list below)

Risks

Rollback steps

  • revert this branch

This is a tentative fix to a potential problem outlined in issue #39, to help clarify expected behavior as per Microsoft's SQL Server documentation: https://docs.microsoft.com/en-us/sql/relational-databases/track-changes/work-with-change-tracking-sql-server?view=sql-server-2017 .

In essence, decrementing the CHANGE_TRACKING_CURRENT_VERSION() by one is not recommended by Microsoft. This is leading to lots of duplicate row copying.

...

I have not tested the change yet, and in order to fully fix this issue, the test cases might need to be adjusted. I'm happy to finalize the implementation to speed-up this fix, if we find that it is correct.

@cmerrick
Copy link

Hi @zboldyga, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@cmerrick
Copy link

You did it @zboldyga!

Thank you for signing the Singer Contribution License Agreement.

@zboldyga zboldyga changed the title tentative increment change, in reference to issue #39 WIP: tentative increment change, in reference to issue #39 Aug 26, 2020
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