-
Notifications
You must be signed in to change notification settings - Fork 43
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
Conversation
doc/release/1.10.10.rst
Outdated
Build | ||
~~~~~ | ||
|
||
- Make recovering with force_recovery option delete newer than snapshot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Make recovering with force_recovery option delete newer than snapshot | |
- Make recovering with ``force_recovery`` option delete newer than snapshot |
c0ec3f5
to
bccf1ba
Compare
bccf1ba
to
f4934ba
Compare
f4934ba
to
15acc28
Compare
15acc28
to
517ab2d
Compare
517ab2d
to
b08caf0
Compare
b08caf0
to
94a3733
Compare
94a3733
to
1fe7c6d
Compare
- 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 |
There was a problem hiding this comment.
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`). |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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')"
).
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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`). |
There was a problem hiding this comment.
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.
- 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`). |
There was a problem hiding this comment.
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.
Module swim | ||
~~~~~~~~~~~ |
There was a problem hiding this comment.
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.
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`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgotten comma?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep
- Fix building on FreeBSD (incomplete definition of type ``struct | ||
sockaddr``) | ||
(:tarantool-issue:`5748`). |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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)
- 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`). |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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)
- 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`). |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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)
- 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`). |
There was a problem hiding this comment.
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)
- Fix building on FreeBSD (incomplete definition of type ``struct | ||
sockaddr``) | ||
(:tarantool-issue:`5748`). |
There was a problem hiding this comment.
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)
- 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`). |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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)
- 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`). |
There was a problem hiding this comment.
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)
- 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`). |
There was a problem hiding this comment.
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>`. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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). слово теряет смысл, если его слишком часто использовать.
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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'``, |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was migrated?
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a master > the master? может быть больше одного мастера?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Во-первых, да. Если сплит бреин был, то какое-то время их может быть два, хотя один не сможет ничего делать. Во-вторых, тут скорее смысл, что это где-то какой-то один мастер обычно, "некий", на неопределенной удаленной машине. Не какой-то конкретный.
fixes gh-2039