Skip to content

Release notes for Tarantool releases in 2020-04 #2100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 26, 2021

Conversation

xuniq
Copy link
Contributor

@xuniq xuniq commented Apr 23, 2021

fixes gh-2039

@github-actions github-actions bot temporarily deployed to branch-gh-2039-release-notes April 23, 2021 12:32 Inactive
Build
~~~~~

- Make recovering with force_recovery option delete newer than snapshot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Make recovering with force_recovery option delete newer than snapshot
- Make recovering with ``force_recovery`` option delete newer than snapshot

@github-actions github-actions bot temporarily deployed to branch-gh-2039-release-notes April 24, 2021 12:01 Inactive
@NickVolynkin NickVolynkin force-pushed the gh-2039-release-notes branch from c0ec3f5 to bccf1ba Compare April 25, 2021 11:11
@github-actions github-actions bot temporarily deployed to branch-gh-2039-release-notes April 25, 2021 11:12 Inactive
@NickVolynkin NickVolynkin force-pushed the gh-2039-release-notes branch from bccf1ba to f4934ba Compare April 25, 2021 13:50
@github-actions github-actions bot temporarily deployed to branch-gh-2039-release-notes April 25, 2021 13:52 Inactive
@NickVolynkin NickVolynkin force-pushed the gh-2039-release-notes branch from f4934ba to 15acc28 Compare April 26, 2021 04:21
@github-actions github-actions bot temporarily deployed to branch-gh-2039-release-notes April 26, 2021 04:22 Inactive
@NickVolynkin NickVolynkin force-pushed the gh-2039-release-notes branch from 15acc28 to 517ab2d Compare April 26, 2021 05:06
@github-actions github-actions bot temporarily deployed to branch-gh-2039-release-notes April 26, 2021 05:07 Inactive
@NickVolynkin NickVolynkin force-pushed the gh-2039-release-notes branch from 517ab2d to b08caf0 Compare April 26, 2021 05:35
@github-actions github-actions bot temporarily deployed to branch-gh-2039-release-notes April 26, 2021 05:36 Inactive
@NickVolynkin NickVolynkin force-pushed the gh-2039-release-notes branch from b08caf0 to 94a3733 Compare April 26, 2021 05:43
@github-actions github-actions bot temporarily deployed to branch-gh-2039-release-notes April 26, 2021 05:44 Inactive
- The new ``box.lib`` module allows loading and executing C
stored procedures on read-only nodes (:tarantool-issue:`4642`).

- Configuration options in `box.cfg` can now be defined with environment variables
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

box.cfg in notable changes and in the list below is wrapped into a span tag rather than italic.


- The ``exclude_null`` option can now be used in the index part definition.
With this option, the index filters and doesn't store tuples with "null" value
of the corresponding part part (:tarantool-issue:`4480`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: part part.

~~~~

- The ``exclude_null`` option can now be used in the index part definition.
With this option, the index filters and doesn't store tuples with "null" value
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the comma here intentional? Looks unusual, but I don't know for sure, whether it is incorrect.

Build
~~~~~

- Tarantool build infrastructure now requires CMake version 3.1 or later.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is 3.2 due to tarantool/tarantool#5988 (it was pushed to the same set of releases). My bad, I didn't updated the changelog entry.

~~~

- Fixed the `-e` option, when ``tarantool`` used to enter the interactive mode when
stdin is a TTY. Now, ``tarantool -e 'print"Hello"'`` doesn't enter the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use the usual syntax with parenthesis (tarantool -e "print('Hello')").

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the meaning of parentheses?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A function call. I don't know why print works without parentheses. It seems, it is some weird exception from usual syntax rules.

- Fixed the `-e` option, when ``tarantool`` used to enter the interactive mode when
stdin is a TTY. Now, ``tarantool -e 'print"Hello"'`` doesn't enter the
interactive mode, but just prints "Hello" and exits
(:tarantool-issue:`5040`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can mention that it is for compatibility with Lua / LuaJIT interpreters.

Comment on lines +339 to +340
- Recovering with ``force_recovery`` option now deletes vylog files which are newer than the snapshot.
It helps an instance recover after incidents during a checkpoint (:tarantool-issue:`5823`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not look relevant to the build section.

Comment on lines +167 to +168
Module swim
~~~~~~~~~~~
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is just 'Swim' in 2.6.3. And it is usually written in the upper case.

@Totktonada
Copy link
Member

Totktonada commented Apr 26, 2021

Development review checklist:

without waiting for the other triggers to finish.

- Tarantool module developers can now register functions to call when Tarantool stops
with the new ``on_shutdown`` API, (:tarantool-issue:`5723`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgotten comma?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

Comment on lines +332 to +334
- Fix building on FreeBSD (incomplete definition of type ``struct
sockaddr``)
(:tarantool-issue:`5748`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix -> Fixed (for consistency with other entries).

~~~~~


- Tarantool build infrastructure now requires CMake version 3.1 or later.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comment)

Comment on lines +194 to +197
- Fixed the `-e` option, when ``tarantool`` used to enter the interactive mode when
stdin is a TTY. Now, ``tarantool -e 'print"Hello"'`` doesn't enter the
interactive mode, but just prints "Hello" and exits
(:tarantool-issue:`5040`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comment)

Build
~~~~~

- Fix building on FreeBSD (incomplete definition of type ``struct
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comment)

Comment on lines +228 to +229
- Recovering with ``force_recovery`` option now deletes vylog files which are newer than the snapshot.
It helps an instance recover after incidents during a checkpoint (:tarantool-issue:`5823`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comment)

Build
~~~~~

- Tarantool build infrastructure now requires CMake version 3.1 or later.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comment)

Comment on lines +188 to +191
- Fixed the `-e` option, when ``tarantool`` used to enter the interactive mode when
stdin is a TTY. Now, ``tarantool -e 'print"Hello"'`` doesn't enter the
interactive mode, but just prints "Hello" and exits
(:tarantool-issue:`5040`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comments)

Comment on lines +223 to +225
- Fix building on FreeBSD (incomplete definition of type ``struct
sockaddr``)
(:tarantool-issue:`5748`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comment)

Comment on lines +230 to +231
- Recovering with ``force_recovery`` option now deletes vylog files which are newer than the snapshot.
It helps an instance recover after incidents during a checkpoint (:tarantool-issue:`5823`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comment)

Build
~~~~~

- Tarantool build infrastructure now requires CMake version 3.1 or later.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comment)

Comment on lines +82 to +85
- Fixed the `-e` option, when ``tarantool`` used to enter the interactive mode when
stdin is a TTY. Now, ``tarantool -e 'print"Hello"'`` doesn't enter the
interactive mode, but just prints "Hello" and exits
(:tarantool-issue:`5040`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comments)

Comment on lines +91 to +92
- Recovering with ``force_recovery`` option now deletes vylog files newer than the snapshot.
It helps an instance recover after incidents during a checkpoint (:tarantool-issue:`5823`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see 2.8.1 comments)

2.8.1 is the :doc:`beta </release/policy>`
version of the 2.8 release series.

This release introduces 28 new features and resolves 31 bug since version :doc:`2.7.2 </release/2.7.2>`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"since version :doc:2.7.2" выглядит калькой с русского. я бы сформулировал как "compared with version :doc:2.7.2"


This release introduces 28 new features and resolves 31 bug since version :doc:`2.7.2 </release/2.7.2>`.
There can be bugs in less common areas.
If you find any, feel free to `report an

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"feel free" - это "не стесняйтесь". м.б. что-нибудь типа "please help us improve by reporting an issue?"


Notable changes are:

- Tarantool is now able to set multiple iproto threads.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Tarantool is now able..." Tarantool - это продукт. Обычно не пишут "Продукт может то-то", т.к. он не наделен волей, а "с помощью продукта можно делать то-то" или "добавили возможность делать то-то"

If you find any, feel free to `report an
issue <https://github.com/tarantool/tarantool/issues>`__ on GitHub.

Notable changes are:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я бы привел все четыре пункта к общему знаменателю, иначе мне было немного сложно читать и понимать, что конкретно было сделано

  • Added the ability to set multiple iproto threads.
  • Added the ability to set box.cfg options with environment variables.
  • Implemented the new box.ctl.promote() function and introduced the concept of manual elections.
  • Made some enhancements to the Lua memory profiler.

-------------

Tarantool 2.x is backward compatible with Tarantool 1.10.x in the binary
data layout, client-server protocol, and replication protocol.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tarantool 2.x binary data layout, client-server protocol, and replication protocol are backward compatible with Tarantool 1.10.x ?

Tarantool 2.x is backward compatible with Tarantool 1.10.x in the binary
data layout, client-server protocol, and replication protocol.

Please

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Широко используемая практика - использовать please только в случаях, где мы доставляем человеку неудобство (please wait, please try again). слово теряет смысл, если его слишком часто использовать.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

м.б. начать с call to action?
To unlock all the new features of the 2.x series, upgrade <https://www.tarantool.io/en/doc/latest/book/admin/upgrades/>__
using the box.schema.upgrade() procedure.

- Introduced the ``box.ctl.promote()`` function and the concept of manual elections
(enabled with ``election_mode='manual'``) (:tarantool-issue:`3055`).

Once the instance is in the ``manual`` election mode,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the instance > an instance? она одна неповторимая или их может быть несколько?

Once the instance is in the ``manual`` election mode,
it acts like a ``voter`` most of the time,
but may trigger elections and become a leader when ``box.ctl.promote()`` is called.
When ``election_mode ~= 'manual'``,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это предложение пришлось несколько раз прочитать, пока не заметил запятую
м.б. box.ctl.promote() replaces box.ctl.clear_synchro_queue() (which is now deprecated) if election_mode ~= 'manual'.

- RPM and DEB packages no longer have the ``autotools`` dependency (follows up
:tarantool-issue:`4968`).

- Regular testing on MacOS 10.13 has been disabled, effectively stopping

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disabled = отключен. неестественно звучит, либо я не в контексте.
м.б. discontinued или We no longer test on MacOS 10.13 regularly ?

Testing
~~~~~~~

- Tarantool CI/CD has migrated to GitHub Actions (:tarantool-issue:`5662`).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was migrated?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

он же не сам это сделал, полагаю )

~~~~~~~~~~~

- Fixed an issue with an applier hanging on a replica after failing to process
a ``CONFIRM`` or ``ROLLBACK`` message coming from a master.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a master > the master? может быть больше одного мастера?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Во-первых, да. Если сплит бреин был, то какое-то время их может быть два, хотя один не сможет ничего делать. Во-вторых, тут скорее смысл, что это где-то какой-то один мастер обычно, "некий", на неопределенной удаленной машине. Не какой-то конкретный.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[5pt] Release notes for Tarantool releases in 2020-04
5 participants