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

fix sorting #284

Merged
merged 1 commit into from Mar 5, 2019
Merged

fix sorting #284

merged 1 commit into from Mar 5, 2019

Conversation

@AlexeyBarabash
Copy link
Contributor

AlexeyBarabash commented Mar 5, 2019

Sorting of records by timestamp was broken.

This PR particularly addresses brave/brave-browser#3515 , it does not prevent re-appearing of records, but now as records will be provided sorted, then old parasite records will be neutralized by the new record.
In other words <...,CREATE, CREATE,...> or <...,DELETE, DELETE,...> or <...,UPDATE, UPDATE,...> safe. The only potential possibility of error is to have parasite records later than in the next request.

@AlexeyBarabash AlexeyBarabash added the bug label Mar 5, 2019
@AlexeyBarabash AlexeyBarabash self-assigned this Mar 5, 2019
@AlexeyBarabash AlexeyBarabash requested review from darkdh and SergeyZhukovsky Mar 5, 2019
@AlexeyBarabash AlexeyBarabash force-pushed the fix_sorting branch from cb04c34 to 0cd04d0 Mar 5, 2019
@AlexeyBarabash AlexeyBarabash force-pushed the fix_sorting branch from 0cd04d0 to 75dddbe Mar 5, 2019
Copy link
Member

SergeyZhukovsky left a comment

++

@AlexeyBarabash AlexeyBarabash merged commit e4ae888 into staging Mar 5, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
AlexeyBarabash added a commit that referenced this pull request Mar 5, 2019
fix sorting
AlexeyBarabash added a commit that referenced this pull request Mar 5, 2019
Merge pull request #284 from brave/fix_sorting into master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Sync - All platforms
  
Awaiting triage
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.