|
| 1 | +Tarantool 2.10.8 |
| 2 | +================ |
| 3 | + |
| 4 | +Released on 2023-09-14. |
| 5 | + |
| 6 | +* Release: :tarantool-release:`2.10.8`. |
| 7 | +* Tag: ``2.10.8``. |
| 8 | + |
| 9 | +Overview |
| 10 | +-------- |
| 11 | + |
| 12 | +2.10.8 is the ninth |
| 13 | +:doc:`stable </release/policy/>` version of the 2.10 release series. |
| 14 | +It introduces 5 improvements and resolves 28 bugs since 2.10.7. |
| 15 | + |
| 16 | +The “stable” label means that we have all planned features implemented |
| 17 | +and we see no high-impact issues. However, if you encounter an issue, |
| 18 | +feel free to `report |
| 19 | +it <https://github.com/tarantool/tarantool/issues>`__ on GitHub. |
| 20 | + |
| 21 | +Compatibility |
| 22 | +------------- |
| 23 | + |
| 24 | +Tarantool 2.x is backward compatible with Tarantool 1.10.x in the binary |
| 25 | +data layout, client-server protocol, and replication protocol. |
| 26 | + |
| 27 | +Please :doc:`upgrade </book/admin/upgrades>` using the ``box.schema.upgrade()`` procedure to unlock all the new |
| 28 | +features of the 2.x series. |
| 29 | + |
| 30 | +Functionality added or changed |
| 31 | +------------------------------ |
| 32 | + |
| 33 | +Box |
| 34 | +~~~ |
| 35 | + |
| 36 | +- The maximum length of ``box.cfg{}`` string parameters is now 512 |
| 37 | + instead of 256. |
| 38 | + |
| 39 | +Test |
| 40 | +~~~~ |
| 41 | + |
| 42 | +Fuzz |
| 43 | +^^^^ |
| 44 | + |
| 45 | +- LuaJIT now can be fuzzed using grammar-based fuzzer (:tarantool-issue:`4823`). |
| 46 | + |
| 47 | +Build |
| 48 | +~~~~~ |
| 49 | + |
| 50 | +- Hardening against memory corruption attacks is now enabled by default |
| 51 | + on FreeBSD (:tarantool-issue:`7536`). |
| 52 | +- Added the CMake option ``FIBER_STACK_SIZE`` to set the default fiber |
| 53 | + stack size. |
| 54 | +- Updated libcurl to version 8.3.0. |
| 55 | + |
| 56 | +Bugs fixed |
| 57 | +---------- |
| 58 | + |
| 59 | +Core |
| 60 | +~~~~ |
| 61 | + |
| 62 | +- Fixed a bug when Tarantool failed to decode a request containing an |
| 63 | + unknown IPROTO key. The bug resulted in broken connectivity between |
| 64 | + Tarantool 2.10 and 2.11 (:tarantool-issue:`8745`). |
| 65 | +- Fixed a bug causing the ``ER_CURSOR_NO_TRANSACTION`` failure for |
| 66 | + transactions on synchronous spaces when the ``on_commit/on_rollback`` |
| 67 | + triggers are set (:tarantool-issue:`8505`). |
| 68 | +- Fixed a bug causing the effective session and user are not propagated |
| 69 | + to ``box.on_commit`` and ``box.on_rollback`` trigger callbacks when |
| 70 | + transaction is synchronous (:tarantool-issue:`8742`). |
| 71 | +- Fixed a crash that could happen when Tarantool is started in the |
| 72 | + :ref:`background mode <cfg_basic-background>` (:tarantool-issue:`6128`). |
| 73 | +- Fixed a bug when MVCC sometimes lost gap record (:tarantool-issue:`8326`). |
| 74 | +- Fixed a bug when MVCC rollback of prepared statement could break |
| 75 | + internal invariants (:tarantool-issue:`8648`). |
| 76 | +- Now MVCC engine automatically aborts a transaction if it reads |
| 77 | + changes of a prepared transaction and this transaction is aborted |
| 78 | + (:tarantool-issue:`8654`). |
| 79 | +- Fixed a bug that caused writing incorrect values into the |
| 80 | + ``stream_id`` field of xlog headers (:tarantool-issue:`8783`). |
| 81 | +- Fixed a bug when a space that is referenced by a foreign key could |
| 82 | + not be truncated even if the referring space was empty (:tarantool-issue:`8946`). |
| 83 | +- Fixed a crash that could happen when Tarantool is compiled by |
| 84 | + ``clang`` version 15 and above with enabled AddressSanitizer |
| 85 | + (:ref:`tarantool/tarantool-qa#321 <https://github.com/tarantool/tarantool-qa/issues/321>`). |
| 86 | +- Fixed a use-after-free bug in iproto server code (:tarantool-issue:`9037`). |
| 87 | +- Fixed a heap-buffer-overflow bug in fiber creation code (:tarantool-issue:`9026`). |
| 88 | + |
| 89 | +Memtx |
| 90 | +~~~~~ |
| 91 | + |
| 92 | +- Fixed a heap-use-after-free bug in the transaction manager, which |
| 93 | + could occur when performing a DDL operation concurrently with a |
| 94 | + transaction on the same space (:tarantool-issue:`8781`). |
| 95 | + |
| 96 | +Vinyl |
| 97 | +~~~~~ |
| 98 | + |
| 99 | +- Fixed a heap-use-after-free bug in the Vinyl read iterator caused by |
| 100 | + a race between a disk read and a memory dump task. The bug could lead |
| 101 | + to a crash or an invalid query result (:tarantool-issue:`8852`). |
| 102 | + |
| 103 | +Replication |
| 104 | +~~~~~~~~~~~ |
| 105 | + |
| 106 | +- Fixed a possible failure to promote the desired node by |
| 107 | + ``box.ctl.promote()`` on a cluster with nodes configured with |
| 108 | + ``election_mode = "candidate"`` (:tarantool-issue:`8497`). |
| 109 | +- Fixed nodes configured with ``election_mode = 'candidate'`` |
| 110 | + spuriously detecting a split-vote when another candidate should win |
| 111 | + with exactly a quorum of votes for it (:tarantool-issue:`8698`). |
| 112 | + |
| 113 | +LuaJIT |
| 114 | +~~~~~~ |
| 115 | + |
| 116 | +Backported patches from the vanilla LuaJIT trunk (:tarantool-issue:`8516`, :tarantool-issue:`8825`). |
| 117 | +The following issues were fixed as part of this activity: |
| 118 | + |
| 119 | +- Fixed canonicalization of +-0.0 keys for ``IR_NEWREF``. |
| 120 | + |
| 121 | +- Fixed result truncation for ``bit.rol`` on x86_64 platforms. |
| 122 | + |
| 123 | +- Fixed ``lua_yield()`` invocation inside C hooks. |
| 124 | + |
| 125 | +- Fixed memory chunk allocation beyond the memory limit. |
| 126 | + |
| 127 | +- Fixed TNEW load forwarding with instable types. |
| 128 | + |
| 129 | +- Fixed use-def analysis for ``BC_VARG``, ``BC_FUNCV``. |
| 130 | + |
| 131 | +- Fixed ``BC_UCLO`` insertion for returns. |
| 132 | + |
| 133 | +- Fixed recording of ``BC_VARG`` with unused vararg values. |
| 134 | + |
| 135 | +- Initialization instructions on trace are now emitted only for the |
| 136 | + first member of a union. |
| 137 | + |
| 138 | +- Prevent integer overflow while parsing long strings. |
| 139 | + |
| 140 | +- Fixed various ``^`` operator and ``math.pow()`` function |
| 141 | + inconsistencies. |
| 142 | + |
| 143 | +- Fixed parsing with predicting ``next()`` and ``pairs()``. |
| 144 | + |
| 145 | +- Fixed binary number literal parsing. Parsing of binary number with a |
| 146 | + zero fractional part raises error too now. |
| 147 | + |
| 148 | +- Fixed load forwarding optimization applied after table rehashing. |
| 149 | + |
| 150 | +- Fixed recording of the ``BC_TSETM``. |
| 151 | + |
| 152 | +Lua |
| 153 | +~~~ |
| 154 | + |
| 155 | +- Fixed the xlog reader Lua module to show unknown row header fields. |
| 156 | + Before this change the xlog reader silently skipped them. |
| 157 | + |
| 158 | +Netbox |
| 159 | +^^^^^^ |
| 160 | + |
| 161 | +- Fixed a heap-use-after-free bug in the function creating a tuple |
| 162 | + format Lua object for ``net.box`` (:tarantool-issue:`8889`). |
| 163 | + |
| 164 | +.. _box-1: |
| 165 | + |
| 166 | +Box |
| 167 | +~~~ |
| 168 | + |
| 169 | +- Fixed the memory leaks caused by the multi-statement transaction |
| 170 | + errors in the space index building and the space format checking |
| 171 | + operations (:tarantool-issue:`8773`). |
| 172 | +- Fixed a bug in the box console implementation because of which the |
| 173 | + ``language`` parameter was shared between connected clients |
| 174 | + (:tarantool-issue:`8817`). |
| 175 | +- Fixed an invalid memory access in a corner case of a specialized |
| 176 | + comparison function (:tarantool-issue:`8899`). |
| 177 | + |
| 178 | +Console |
| 179 | +~~~~~~~ |
| 180 | + |
| 181 | +- Fixed console ignoring ``-i`` flag in case stdin is not a tty |
| 182 | + (:tarantool-issue:`5064`). |
| 183 | + |
| 184 | +Datetime |
| 185 | +~~~~~~~~ |
| 186 | + |
| 187 | +- Fixed a bug raising a false positive error when creating new |
| 188 | + intervals with range boundary values (:tarantool-issue:`8878`). |
| 189 | +- Fixed a bug with buffer overflow in ``tnt_strptime`` (:tarantool-issue:`8502`). |
| 190 | + |
| 191 | +Http |
| 192 | +~~~~ |
| 193 | + |
| 194 | +- Fixed a streaming connection stuck if etcd is stopped unexpectedly |
| 195 | + (:tarantool-issue:`9086`). |
| 196 | + |
| 197 | +Msgpack |
| 198 | +~~~~~~~ |
| 199 | + |
| 200 | +- Fixed decoding datetime intervals with fields larger than possible |
| 201 | + int32 values (:tarantool-issue:`8887`). |
0 commit comments