-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#260 Accept lowercase options expire_in expire_at. Improve the error …
…messages when the absolute timestamp is incorrect Summary: Currently getting these errors: 127.0.0.1:6379> TSADD cpu_usage 70 "80" expire_at 1 (error) ERR TSADD: expire_at is not a valid number 127.0.0.1:6379> TSADD cpu_usage 70 "80" expire_in 1 (error) ERR TSADD: expire_in is not a valid number 127.0.0.1:6379> TSADD cpu_usage 70 "80" EXPIRE_AT 1513642307 (error) ERR TSADD: TTL: -11469038 needs be in the range [1, 9223372036] Test Plan: New unit tests Also, for the incorrect error message, it has changed to: 127.0.0.1:6379> TSADD cpu_usage 70 "80" EXPIRE_AT 1513642307 (error) ERR TSADD: TTL: 1513642307 needs be in the range [1525208329, 10748580364] Reviewers: pritam.damania, kannan, rahuldesirazu, amitanand Reviewed By: amitanand Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D4734
- Loading branch information
Showing
2 changed files
with
48 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters