kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject kudu git commit: block_compression: fix arg to Substitute
Date Wed, 04 Oct 2017 01:27:15 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 4c7d8e040 -> 77dea331d


block_compression: fix arg to Substitute

Change-Id: If00035e39ba3f837f42e398ca6aa31bbc9afb3a9
Reviewed-on: http://gerrit.cloudera.org:8080/8203
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>


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

Branch: refs/heads/master
Commit: 77dea331d8d0919d3b9ba2c8cc7f776b5d5f3a6f
Parents: 4c7d8e0
Author: Adar Dembo <adar@cloudera.com>
Authored: Tue Oct 3 16:09:26 2017 -0700
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Wed Oct 4 01:26:20 2017 +0000

----------------------------------------------------------------------
 src/kudu/cfile/block_compression.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/77dea331/src/kudu/cfile/block_compression.cc
----------------------------------------------------------------------
diff --git a/src/kudu/cfile/block_compression.cc b/src/kudu/cfile/block_compression.cc
index e7bb5df..aa342bb 100644
--- a/src/kudu/cfile/block_compression.cc
+++ b/src/kudu/cfile/block_compression.cc
@@ -167,7 +167,7 @@ Status CompressedBlockDecoder::Init() {
   if (uncompressed_size_ > FLAGS_max_cfile_block_size) {
     return Status::Corruption(
       Substitute("uncompressed size $0 overflows the maximum length $1, buffer",
-                 compressed_size, FLAGS_max_cfile_block_size),
+                 uncompressed_size_, FLAGS_max_cfile_block_size),
       KUDU_REDACT(data_.ToDebugString(50)));
   }
 


Mime
View raw message