Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

Records should be returned in upload order #53

Closed
ayumi opened this issue Feb 13, 2017 · 0 comments
Closed

Records should be returned in upload order #53

ayumi opened this issue Feb 13, 2017 · 0 comments
Labels

Comments

@ayumi
Copy link
Contributor

ayumi commented Feb 13, 2017

Currently we upload records with a prefix including the timestamp in seconds.
S3 returns keys by "UTF-8 binary order", so for example if you put record 0 ".../12340000/z/..." then record 1 ".../12340000/a/..." then record 1 would be returned first.

This impacts the initial sync, when order is important.

We could solve this by storing the timestamp at millisecond precision.

Related: #49

@ayumi ayumi added the bug label Feb 13, 2017
ayumi added a commit that referenced this issue Feb 13, 2017

Verified

This commit was signed with the committer’s verified signature.
ayumi ayumi  yu
Fix #53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant