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

Problem: HybridTimestamp Comparable Serializable isn't correct #197

Merged
merged 1 commit into from Jan 12, 2017

Commits on Jan 12, 2017

  1. Problem: HybridTimestamp Comparable Serializable isn't correct

    `getComparableSerializable().compareTo()` provably does not match the
    results of `compareTo()` 100% of the time because it's converting the
    timestamp to NTP, therefore reducing the precision.
    
    Solution: switch from Long to BigInteger Comparable Serializable, pack
    all data in a comparable order and test it with quickcheck.
    yrashk committed Jan 12, 2017
    Copy the full SHA
    c503147 View commit details
    Browse the repository at this point in the history