From 7eaa2d23fb7ae13e1aa421e6a7490be65f438bbd Mon Sep 17 00:00:00 2001
From: Ilya Verbin <iverbin@tarantool.org>
Date: Wed, 18 Oct 2023 17:58:57 +0300
Subject: [PATCH] log: add changelog and doc for "fix matras_view::block_count
 overflow"

The issue is fixed in the `small' submodule by the following commit:

* matras: fix matras_view::block_count overflow

Closes #3594

NO_TEST=The test requires more than 64 GB of RAM.

@TarantoolBot document
Title: Document maximum number of tuples in hash index
Product: Tarantool
Root document: https://www.tarantool.io/en/doc/latest/book/box/limitations/

Number of tuples in hash index: 2147483648
---
 .../gh-3594-fail-safely-if-tuple-limit-is-reached.md          | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 changelogs/unreleased/gh-3594-fail-safely-if-tuple-limit-is-reached.md

diff --git a/changelogs/unreleased/gh-3594-fail-safely-if-tuple-limit-is-reached.md b/changelogs/unreleased/gh-3594-fail-safely-if-tuple-limit-is-reached.md
new file mode 100644
index 0000000000..3a46949b46
--- /dev/null
+++ b/changelogs/unreleased/gh-3594-fail-safely-if-tuple-limit-is-reached.md
@@ -0,0 +1,4 @@
+## bugfix/core
+
+* Fixed a potential data corruption when the number of tuples in a hash index
+  is more than 2147483648 (gh-3594).
-- 
GitLab