You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2017/07/07 22:27:14 UTC

kudu git commit: [client][tests] fixed misprints

Repository: kudu
Updated Branches:
  refs/heads/master a3773b42c -> 04f84020f


[client][tests] fixed misprints

Fixed misprint in warning message and test comments:
  READ_AT_TIMESTAMP --> READ_AT_SNAPSHOT

This changelist does not contain any functional modifications.

Change-Id: Iec985396b263e8d1c77af01c5d38ddb2b0c1140e
Reviewed-on: http://gerrit.cloudera.org:8080/7377
Reviewed-by: Dan Burkert <da...@apache.org>
Tested-by: Alexey Serbin <as...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/04f84020
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/04f84020
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/04f84020

Branch: refs/heads/master
Commit: 04f84020f3eb88b482d63f2177780549403bae9c
Parents: a3773b4
Author: Alexey Serbin <as...@cloudera.com>
Authored: Fri Jul 7 12:25:56 2017 -0700
Committer: Alexey Serbin <as...@cloudera.com>
Committed: Fri Jul 7 22:16:46 2017 +0000

----------------------------------------------------------------------
 src/kudu/client/scan_token-internal.cc          | 2 +-
 src/kudu/integration-tests/consistency-itest.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/04f84020/src/kudu/client/scan_token-internal.cc
----------------------------------------------------------------------
diff --git a/src/kudu/client/scan_token-internal.cc b/src/kudu/client/scan_token-internal.cc
index e1b0a22..8a157b0 100644
--- a/src/kudu/client/scan_token-internal.cc
+++ b/src/kudu/client/scan_token-internal.cc
@@ -211,7 +211,7 @@ Status KuduScanTokenBuilder::Data::Build(vector<KuduScanToken*>* tokens) {
       pb.set_read_mode(kudu::READ_LATEST);
       if (configuration_.has_snapshot_timestamp()) {
         LOG(WARNING) << "Ignoring snapshot timestamp since not in "
-                        "READ_AT_TIMESTAMP mode.";
+                        "READ_AT_SNAPSHOT mode.";
       }
       break;
     case KuduScanner::READ_AT_SNAPSHOT:

http://git-wip-us.apache.org/repos/asf/kudu/blob/04f84020/src/kudu/integration-tests/consistency-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/consistency-itest.cc b/src/kudu/integration-tests/consistency-itest.cc
index 561907f..992b8d3 100644
--- a/src/kudu/integration-tests/consistency-itest.cc
+++ b/src/kudu/integration-tests/consistency-itest.cc
@@ -370,7 +370,7 @@ TEST_F(ConsistencyITest, TestTimestampPropagationFromScans) {
 //   * Get the client's latest observed timestamp: it should be strictly greater
 //     than the recorded timestamp.
 //
-//   * Make a full table scan at in READ_AT_TIMESTAMP mode at 'ts_ref'
+//   * Make a full table scan in the READ_AT_SNAPSHOT mode at 'ts_ref'
 //     timestamp: the scan should retrieve only the first row.
 //
 // If the client propates the timestamps, the second server should receive