1-
2- -------------------------------------------------------------------------------
3- Tarantool 2.2.1
4- -------------------------------------------------------------------------------
5-
6- Release: :tarantool-release: `2.2.1 `
7-
8- .. _whats_new_20 :
9-
10-
11- Tarantool 2.x is backward compatible with Tarantool 1.10.x in binary data layout,
12- client-server protocol and replication protocol.
13- You can :ref: `upgrade <admin-upgrades >` using the ``box.schema.upgrade() ``
14- procedure.
15-
16- .. _whats_new_241 :
17-
18- **Release 2.4.1 **
19-
20- Deprecations
21-
22- * (SQL) SESSION will be a reserved word so objects named SESSION will
23- be illegal. Part of (:tarantool-issue: `4711 `).
24- * In :ref: `box.session.push() <box_session-push >` the use of the
25- ``sync `` parameter will cause a warning in version 2.4.1 and will cause
26- an error in later versions. Part of (:tarantool-issue: `4689 `).
27-
281.. _whats_new_221 :
292
30- **Release 2.2.1 **
3+ Tarantool 2.2.1
4+ ===============
315
6+ Release: :tarantool-release: `2.2.1 `.
327Release type: beta. Release date: 2019-08-02.
338
34- Release: :tarantool-release: `2.2.1. `
9+ Overview
10+ --------
3511
3612This is a :ref: `beta <release-policy >` version of the 2.2 series. The label
3713"beta" means we have no critical issues and all planned features are there.
3814
3915The goal of this release is to introduce new indexing features, extend SQL
4016feature set, and improve integration with the core.
4117
42- Functionality added or changed:
4318
44- * (SQL) ALTER now allows to add a constraint:
19+ Compatibility
20+ -------------
21+
22+ Tarantool 2.x is backward compatible with Tarantool 1.10.x in binary data layout,
23+ client-server protocol and replication protocol.
24+ You can :ref: `upgrade <admin-upgrades >` using the ``box.schema.upgrade() ``
25+ procedure.
26+
27+ Functionality added or changed
28+ ------------------------------
29+
30+ * (SQL) ALTER now allows to add a constraint:
4531
4632 .. code-block :: sql
4733
4834 CREATE TABLE t2 (id INT PRIMARY KEY);
4935 ALTER TABLE t2 ADD CONSTRAINT ck CHECK(id > 0);
5036
51- * (SQL) CHECK constraints are validated during DML operations performed
37+ * (SQL) CHECK constraints are validated during DML operations performed
5238 from the Lua land:
5339
5440 .. code-block :: lua
@@ -60,28 +46,28 @@ Functionality added or changed:
6046
6147 .. code-block :: tarantoolsession
6248
63- tarantool> s:insert({11})
64- ---
65- - error: 'Check constraint failed ''le10'': "idx" < 10'
66- ...
49+ tarantool> s:insert({11})
50+ ---
51+ - error: 'Check constraint failed ''le10'': "idx" < 10'
52+ ...
6753
68- * (SQL) New :ref: `SQL types <sql_column_def_data_type >` introduced:
54+ * (SQL) New :ref: `SQL types <sql_column_def_data_type >` introduced:
6955 VARBINARY, UNSIGNED, and `BOOLEAN `.
7056
71- * (SQL) CREATE TABLE statement (and all other data definition statements)
57+ * (SQL) CREATE TABLE statement (and all other data definition statements)
7258 are now truly transactional.
7359
74- * (SQL) SQL now uses Tarantool diagnostics API to set errors, so error reporting
60+ * (SQL) SQL now uses Tarantool diagnostics API to set errors, so error reporting
7561 now provides an error code in addition to error message.
7662
77- * (SQL) Multiple improvements to the type system to make it more consistent.
63+ * (SQL) Multiple improvements to the type system to make it more consistent.
7864
79- * (SQL) Added aliases for LENGTH() from ANSI SQL:
65+ * (SQL) Added aliases for LENGTH() from ANSI SQL:
8066 CHAR_LENGTH() and CHARACTER_LENGTH().
8167
82- * (SQL) It is possible to use HAVING without GROUP BY.
68+ * (SQL) It is possible to use HAVING without GROUP BY.
8369
84- * (Server) New fixed point type (DECIMAL) introduced to Tarantool:
70+ * (Server) New fixed point type (DECIMAL) introduced to Tarantool:
8571
8672 .. code-block :: tarantoolsession
8773
@@ -102,7 +88,7 @@ Functionality added or changed:
10288 - '123.4568'
10389 ...
10490
105- * (Server) Multikey index support:
91+ * (Server) Multikey index support:
10692
10793 .. code-block :: lua
10894
@@ -131,7 +117,7 @@ Functionality added or changed:
131117 - [2, 'Bob', [{'type': 'work', 'number': '888'}]]
132118 ...
133119
134- * (Server) Now it is possible to make functions persistent:
120+ * (Server) Now it is possible to make functions persistent:
135121
136122 .. code-block :: lua
137123
@@ -159,9 +145,9 @@ Functionality added or changed:
159145 tarantool> box.func.summarize:call({1, 2})
160146 ---
161147 - 3
162- .. .
148+ ...
163149
164- * (Server) Functional indexes implemented:
150+ * (Server) Functional indexes implemented:
165151
166152 .. code-block :: lua
167153
@@ -191,24 +177,24 @@ Functionality added or changed:
191177 - - ['James', 'SIS Building Lambeth London UK']
192178 ...
193179
194- * Partial core dumps, which are now on by default.
195- It is now possible to avoid dumping tuples at all during core dump.
180+ * Partial core dumps, which are now on by default.
181+ It is now possible to avoid dumping tuples at all during core dump.
196182
197- * Data definition statements, such as create or alter index, which do not yield,
198- can now be used in a transaction. This in practice includes all statements
199- except creating an index on a non-empty space, or changing a format on
200- a non-empty space.
183+ * Data definition statements, such as create or alter index, which do not yield,
184+ can now be used in a transaction. This in practice includes all statements
185+ except creating an index on a non-empty space, or changing a format on
186+ a non-empty space.
201187
202- * It is now possible to set a sequence not only for the first part of the index:
188+ * It is now possible to set a sequence not only for the first part of the index:
203189
204190 .. code-block :: lua
205191
206192 s.index.pk:alter{sequence = {field = 2}}
207193
208- * Allow to call ``box.session.exists() `` and ``box.session.fd() ``
209- without any arguments.
194+ * Allow to call ``box.session.exists() `` and ``box.session.fd() ``
195+ without any arguments.
210196
211- * New function introduced to get an index key from a tuple:
197+ * New function introduced to get an index key from a tuple:
212198
213199 .. code-block :: lua
214200
@@ -230,29 +216,29 @@ Functionality added or changed:
230216 end
231217 s:select()
232218
233- * (Engines) New protocol (called :ref: `SWIM <swim-module >`) implemented to keep
219+ * (Engines) New protocol (called :ref: `SWIM <swim-module >`) implemented to keep
234220 a table of cluster members.
235221
236- * (Engines) Removed yields from Vinyl DDL on commit triggers.
222+ * (Engines) Removed yields from Vinyl DDL on commit triggers.
237223
238- * (Engines) Improved performance of SELECT-s on memtx spaces.
224+ * (Engines) Improved performance of SELECT-s on memtx spaces.
239225 The drawback is that now every memtx-tree tuple consumes extra 8 bytes for
240226 a search hint.
241227
242- * (Engines) Indexes of memtx spaces are now built in background fibers.
228+ * (Engines) Indexes of memtx spaces are now built in background fibers.
243229 This means that we do not block the event loop during index build anymore.
244230
245- * Replication applier now can apply transactions which were concurrent
231+ * Replication applier now can apply transactions which were concurrent
246232 on the master concurrently on replica. This dramatically improves replication
247233 peak performance, from ~50K writes per second to 200K writes per second and
248234 higher on a single instance.
249235
250- * Transaction boundaries introduced to replication protocol.
236+ * Transaction boundaries introduced to replication protocol.
251237 This means that Tarantool replication is now transaction-safe, and also
252238 reduces load on replica write ahead log in case the master uses a lot of
253239 multi-statement transactions.
254240
255- * Tuple access by field name for ``net.box ``:
241+ * Tuple access by field name for ``net.box ``:
256242
257243 .. code-block :: lua
258244
@@ -265,26 +251,26 @@ Functionality added or changed:
265251
266252 require('net.box').connect('localhost', 3302).space.named:get(1).id
267253
268- * Cluster id check is now the slave’s responsibility.
254+ * Cluster id check is now the slave’s responsibility.
269255
270- * It is now possible to set the output format to Lua instead of YAML
256+ * It is now possible to set the output format to Lua instead of YAML
271257 in the :ref: `interactive console <interactive_console >`.
272258
273- * Multiple new collations added.
259+ * Multiple new collations added.
274260 New collations follow this naming pattern:
275261
276262 .. code-block :: none
277263
278264 unicode_<locale>_<strength>
279265
280- Three strengths are used:
266+ Three strengths are used:
281267
282- * Primary - "s1”
283- * Secondary - "s2"
284- * Tertiary - "s3"
268+ * Primary - "s1”
269+ * Secondary - "s2"
270+ * Tertiary - "s3"
285271
286- The following list contains so-called "stable" collations -
287- the ones whose sort order doesn't depend on the ICU version:
272+ The following list contains so-called "stable" collations---the
273+ ones whose sort order doesn't depend on the ICU version:
288274
289275 .. code-block :: none
290276
@@ -302,6 +288,6 @@ Functionality added or changed:
302288 unicode_si_s3
303289 unicode_es_s3
304290
305- * New function ``utime() `` introduced to the ``fio `` module.
291+ * New function ``utime() `` introduced to the ``fio `` module.
306292
307- * :ref: `Merger <merger-module >` for tuples streams added.
293+ * :ref: `Merger <merger-module >` for tuples streams added.
0 commit comments