Skip to content

Conversation

@xuniq
Copy link
Contributor

@xuniq xuniq commented Sep 8, 2021

Fixes #2316

Deploy: https://develop.tarantool.io/ru/doc/gh-2316-beta-changelog/release/2021-08-releases/


Translators might find useful the following developer comments:

Segment:
Fixed the issue on ARM64 where the current Lua coroutine wasn't restored on the exception path.
Comment (@ Buristan):
exception path просто означает code flow, когда бросается какая-либо ошибка
Есть поле которое отображаеет за текущую исполняемую корутину.
Предположим, мы кинули exception (error) не на той корутине, которую LuaJIT VM исполняла в текущий момент. Тогда это поле сишной структуры останется выставленным в старую корутину, а не в ту, на которую передалось управление по средством вызова ошибки (). В случае восстановления из снапшота (сущность LuaJIT - a, не Tarantool снапшота, которая сохраняет в себе значения Lua стека в определенный момент) сразу после этого, у нас неверно выставляются внутренние поля на Lua стеке, Lua стек получается сломанным и это приводит к кор дампу.
(
) Строго говоря, это нарушение Lua C API, и не правильно, что у нас есть такие места в коде, но мы пока закостылили этот случай сохраняя указатель на корутину, на которую передается управление, и в последствии будем ревертить коммит этот в LuaJIT - e и переписывать неверный код в Тарантуле.

Segment:
New and updated features/LuaJIT

  1. Fixed side exit jump target patching with regard to the range values of the particular instruction (:tarantool-issue:6098)
    Comment (@ igormunkin):
    Описывается "проблема": т.е. по-русски это будет что-то вроде "Исправлен патчинг jump target-ов с учетом доступных диапазонов значений для конкретных инструкций.
    Это делает backend часть JIT компилятора

  2. Fixed memory remapping issue when the page left 47-bit segments
    "Страница (памяти) оставляла сегменты в 47 бит" - где оставляла, что имеется в виду?
    Comment (@ igormunkin): завезли это в рамках 2712. Не оставляла, а покидала.
    Comment (@ Buristan ):
    Да, имеется ввиду страница памяти. Это происходит когда ОС отдает при вызове mremap() отдает 48-битный адресс.
    Коммит:
    tarantool/luajit@3682df1

@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 8, 2021 06:48 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 8, 2021 06:49 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 9, 2021 10:44 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 9, 2021 10:45 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 9, 2021 11:18 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 9, 2021 11:19 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 15, 2021 16:08 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 15, 2021 16:08 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 15, 2021 16:56 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 15, 2021 16:56 Inactive
Co-authored-by: Patience Daur <patiencedaur@gmail.com>
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 16, 2021 08:27 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 16, 2021 08:29 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 16, 2021 08:31 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 16, 2021 08:33 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 22, 2021 08:54 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 22, 2021 08:54 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 22, 2021 09:19 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 22, 2021 09:20 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 23, 2021 01:44 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 23, 2021 01:44 Inactive
@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 23, 2021 09:04 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 23, 2021 09:05 Inactive
@patiencedaur
Copy link
Contributor

Translation review completed

@github-actions github-actions bot temporarily deployed to translation-gh-2316-beta-changelog September 24, 2021 09:12 Inactive
@github-actions github-actions bot temporarily deployed to branch-gh-2316-beta-changelog September 24, 2021 09:12 Inactive
@xuniq xuniq merged commit 21f0205 into latest Sep 24, 2021
@xuniq xuniq deleted the gh-2316-beta-changelog branch September 24, 2021 09:24
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 2.10.0-beta1

4 participants