-
Notifications
You must be signed in to change notification settings - Fork 2.8k
V16/feature/move last synced id to db #19884
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
V16/feature/move last synced id to db #19884
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all, excellent work 👍
I do have a couple of comments 😛, bear in mind that I'm purposely being quite pedantic 😉
src/Umbraco.Core/Persistence/Repositories/ILastSyncedRepository.cs
Outdated
Show resolved
Hide resolved
tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Sync/LastSyncedManagerTest.cs
Outdated
Show resolved
Hide resolved
tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Sync/LastSyncedManagerTest.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, only 2 minor things 😄
src/Umbraco.Core/Persistence/Repositories/ILastSyncedRepository.cs
Outdated
Show resolved
Hide resolved
Lets try again 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now 💪 Let's get this merged
e30dc50
into
v16/feature/load-balancing-isolated-caches
Description
I have created a DB Table for our LastSyncedId. Previously it was saved in a file, and a file manager would handle it. This file manager has been obsoleted and replaced by a repository and a manager to save it in the database.
Along with this I have extended the ID to include internal and external, where internal will be used in the future. All of this comes with complete unit tests for validating the get, create and pruning jobs.