David Ribeiro Alves has submitted this change and it was merged.

Change subject: Check that the set raw snapshot timestamp is > 0
......................................................................


Check that the set raw snapshot timestamp is > 0

Commit 06bb52d changed the default (invalid) timestamp to 0
which was previously a valid raw snapshot timestamp to set.
This adds a check to make sure we now return Status::IllegalState
in this case.

Change-Id: Ibc5997f226752d59c56104b26e9b58b8640d0298
Reviewed-on: http://gerrit.cloudera.org:8080/5155
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <[email protected]>
---
M src/kudu/client/client.cc
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Todd Lipcon: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/5155
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibc5997f226752d59c56104b26e9b58b8640d0298
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to