commit c1f2def0c59463d6331ac6dd21e7d7204e202a46 from: Serge Petrenko via: Serge Petrenko <35663196+sergepetrenko@users.noreply.github.com> date: Mon Aug 26 14:29:52 2024 UTC Generate changelog for 3.1.2 Also, remote unreleased/ entries and add a new downgrade version to downgrade versions list. NO_DOC=changelog NO_TEST=changelog NO_CHANGELOG=changelog commit - 6376ffbc6b5b3c336b1711a31c1ac082bb9c15ee commit + c1f2def0c59463d6331ac6dd21e7d7204e202a46 blob - 4901695fb28ff1bc6f400f3c17efaac636593d44 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10164-yaml-encoding-large-exps.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/lua/yaml - -* Strings with large exponential values equal to infinity are now encoded as - strings instead of numbers (gh-10164). blob - 8e2dc74f15120f9515482fa6f4dc26710df703d1 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10199-luajit-fixes.md +++ /dev/null @@ -1,6 +0,0 @@ -## bugfix/luajit - -Backported patches from the vanilla LuaJIT trunk (gh-10199). The following -issues were fixed as part of this activity: - -* Fixed GC marking of the cdata finalizer table. blob - 3497e54a23ca0fd1b65f04569e0bb02047bf1985 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10280-fix-replication-sync-timeout-default-value.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/config - -* Fixed a bug where the default value for `box.replication_sync_timeout` was - not set correctly (gh-10280). blob - d09b3ea7f5ea4919959a0683620cd92e433d8e10 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10331-tz-in-totable.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/datetime - -* Added the `tz` field to a table produced by `:totable()` - (gh-10331). blob - 356831a89632bc373af6a648c3b33cef9c35b067 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10374-timestamp-in-totable.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/datetime - -* Added the `timestamp` field to a table produced by `:totable()` - (gh-10374). blob - d18048e147f26955df8b65d7ef49d84dd3f61d8f (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10375-vy-do-not-abort-unrelated-tx-on-ddl.md +++ /dev/null @@ -1,3 +0,0 @@ -## bugfix/vinyl - -* Fixed a bug when any DDL operation aborted unrelated transactions (gh-10375). blob - 65c81c27a0c2fa023348db25103b81f981f243d4 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10396-memtx-mvcc-exclude-null-count.md +++ /dev/null @@ -1,5 +0,0 @@ -## bugfix/memtx - -* Fixed a bug when `index:count()` could return a wrong number, raise the - last error, or fail with the `IllegalParams` error if the index has - the `exclude_null` attribute and MVCC is enabled (gh-10396). blob - db00eea6b31cd8204889edad2da809a743003e95 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10412-box-begin-is-sync-async-commit-after-recovery.md +++ /dev/null @@ -1,5 +0,0 @@ -## bugfix/box - -* Fixed a bug that caused synchronous transactions (created with - `box.begin{is_sync = true}`) on asynchronous spaces to get committed - asynchronously during recovery (gh-10412). blob - 6f67b920576525de19b81999a3449e7a29d6d650 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10442-vy-exact-match-optimization.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/vinyl - -* Eliminated an unnecessary disk read when a key that was recently updated or - deleted was accessed via a unique secondary index (gh-10442). blob - f1671ea1dd48c0ff1e9ffaf5c25a546bb7209580 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10452-vy-log-discard-run-after-index-drop-fix.md +++ /dev/null @@ -1,6 +0,0 @@ -## bugfix/vinyl - -* Fixed a bug when recovery could fail with the error "Invalid VYLOG file: - Run XXXX deleted but not registered" or "Invalid VYLOG file: Run XXX deleted - twice" in case a dump or compaction completed with a disk write error after - the target index was dropped (gh-10452). blob - e9dd8477cc61d262efa6ff927f8362d735238b2f (mode 644) blob + /dev/null --- changelogs/unreleased/gh-10488-pagination-mvcc-non-unique-index.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/memtx - -* Fixed a crash when using pagination over a non-unique index with range - requests and MVCC enabled (gh-10448). blob - b2264bd2c47e38c4efbaf2cd0f1663ae82af5734 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-8588-setting-unspecified-fields-fix.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/datetime - -* Fixed a bug with setting unspecified fields to undefined values - (gh-8588). blob - 726ace1ceb03e44251f9027bf9793b4999e6c169 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-9535-close-listen-socket-after-replace.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/config - -* Fixed a bug that causes Tarantool to continue listening on the previous socket - even after `console.socket` has changed (gh-9535). blob - aaabe7d0e0572e46ffedb6edbc4d5c0a31bf2cb5 (mode 644) blob + /dev/null --- changelogs/unreleased/gh-9849-grant-revoke-user-right-after-upgrade.md +++ /dev/null @@ -1,4 +0,0 @@ -## bugfix/box - -* User rights are now automatically granted/revoked after upgrading - without restarting (gh-9849). blob - /dev/null blob + b35e88ca473ce25232f83a67ac1f90bc53aa4a10 (mode 644) --- /dev/null +++ changelogs/3.1.2.md @@ -0,0 +1,84 @@ +# 3.1.2 + +Date: 2024-08-26 +Tag: 3.1.2 + +## Overview + +3.1.2 is the 3rd [stable][release_policy] version of the 3.1 release +series. It resolves 14 bugs since 3.1.1. + +The "stable" label means that we have all planned features implemented and we +see no high-impact issues. However, if you encounter an issue, feel free to +[report it][issues] on GitHub. + +[release_policy]: https://www.tarantool.io/en/doc/latest/release/policy/ +[issues]: https://github.com/tarantool/tarantool/issues + +## Compatibility + +Tarantool 3.x is backward compatible with Tarantool 2.11.x in the binary data +layout, client-server protocol, and replication protocol. + +Please [upgrade][upgrade] using the `box.schema.upgrade()` procedure to unlock +all the new features of the 3.x series. + +[upgrade]: https://www.tarantool.io/en/doc/latest/book/admin/upgrades/ + +## Bugs fixed + +### Memtx + +* Fixed a crash when using pagination over a non-unique index with range + requests and MVCC enabled (gh-10448). +* Fixed a bug when `index:count()` could return a wrong number, raise the + last error, or fail with the `IllegalParams` error if the index has + the `exclude_null` attribute and MVCC is enabled (gh-10396). + +### Vinyl + +* Fixed a bug when any DDL operation aborted unrelated transactions (gh-10375). +* Eliminated an unnecessary disk read when a key that was recently updated or + deleted was accessed via a unique secondary index (gh-10442). +* Fixed a bug when recovery could fail with the error "Invalid VYLOG file: + Run XXXX deleted but not registered" or "Invalid VYLOG file: Run XXX deleted + twice" in case a dump or compaction completed with a disk write error after + the target index was dropped (gh-10452). + +### LuaJIT + +Backported patches from the vanilla LuaJIT trunk (gh-10199). The following +issues were fixed as part of this activity: + +* Fixed GC marking of the cdata finalizer table. + +### Lua + +#### YAML + +* Strings with large exponential values equal to infinity are now encoded as + strings instead of numbers (gh-10164). + +### Core + +* Fixed a bug that caused synchronous transactions (created with + `box.begin{is_sync = true}`) on asynchronous spaces to get committed + asynchronously during recovery (gh-10412). + +### Config + +* User rights are now automatically granted/revoked after upgrading + without restarting (gh-9849). +* Fixed a bug that causes Tarantool to continue listening on the previous socket + even after `console.socket` has changed (gh-9535). +* Fixed a bug where the default value for `box.replication_sync_timeout` was + not set correctly (gh-10280). + +### Datetime + +* Fixed a bug with setting unspecified fields to undefined values + (gh-8588). +* Added the `tz` field to a table produced by `:totable()` + (gh-10331). +* Added the `timestamp` field to a table produced by `:totable()` + (gh-10374). blob - 79a76addae4bcfe734702230dcc5666c4b6058cf blob + 271a4b9bca8d910270e2a94a353d2bf21af04877 --- src/box/lua/upgrade.lua +++ src/box/lua/upgrade.lua @@ -2115,6 +2115,7 @@ local downgrade_versions = { "3.0.2", "3.1.0", "3.1.1", + "3.1.2", -- DOWNGRADE VERSIONS END }