From 5c5d01ae740272399b4265139131f415667831ec Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Fri, 4 Nov 2016 11:19:09 -0700 Subject: [PATCH] Fix wrong comment (Maximum supported block size) Summary: We can support SST files >2GB but we don't support blocks >2GB Closes https://github.com/facebook/rocksdb/pull/1465 Differential Revision: D4132140 Pulled By: yiwu-arbug fbshipit-source-id: 63bf12d --- table/block.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table/block.h b/table/block.h index dafb6dfa3..02daa83b5 100644 --- a/table/block.h +++ b/table/block.h @@ -363,7 +363,7 @@ class BlockIter : public InternalIterator { // Return the offset in data_ just past the end of the current entry. inline uint32_t NextEntryOffset() const { - // NOTE: We don't support files bigger than 2GB + // NOTE: We don't support blocks bigger than 2GB return static_cast((value_.data() + value_.size()) - data_); }