-
Notifications
You must be signed in to change notification settings - Fork 14
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
Remove select with custom merger #365
Labels
code health
Improve code readability, simplify maintenance and so on
question
Further information is requested
Comments
DifferentialOrange
added
question
Further information is requested
teamE
code health
Improve code readability, simplify maintenance and so on
labels
Jun 13, 2023
DifferentialOrange
added a commit
that referenced
this issue
Oct 18, 2023
Versions in question are not supported for at least two years from now [1]. 1. https://www.tarantool.io/en/doc/latest/release/calendar/ Part of #365
DifferentialOrange
added a commit
that referenced
this issue
Oct 18, 2023
Since Tarantool 1.10.7 and older and Tarantools between 2.0 and 2.5.2 does not have required symbols, we drop their support in the commit too. 1. https://www.tarantool.io/en/doc/latest/release/calendar/ Part of #365
DifferentialOrange
added a commit
that referenced
this issue
Oct 18, 2023
This patch removes compatibility code that emulated `tuple-keydef` and `tuple-merger` support when they were missing. Now it is required to have this modules either internally r externally. Closes #365
Draft
DifferentialOrange
added a commit
that referenced
this issue
Oct 18, 2023
Versions in question are not supported for at least two years from now [1]. 1. https://www.tarantool.io/en/doc/latest/release/calendar/ Part of #365
DifferentialOrange
added a commit
that referenced
this issue
Oct 18, 2023
Since Tarantool 1.10.7 and older and Tarantools between 2.0 and 2.5.2 does not have required symbols, we drop their support in the commit too. 1. https://www.tarantool.io/en/doc/latest/release/calendar/ Part of #365
DifferentialOrange
added a commit
that referenced
this issue
Oct 18, 2023
This patch removes compatibility code that emulated `tuple-keydef` and `tuple-merger` support when they were missing. Now it is required to have this modules either internally r externally. Closes #365
1.10 series at whole is going the end of support, so I would re-consider tuple-keydef and tuple-merger from modules for old tarantool versions to modules to update a component without updating tarantool. So, I would propose an alternative plan.
|
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
code health
Improve code readability, simplify maintenance and so on
question
Further information is requested
crud
usestuple-merger
for select. Built-in merger is provided for the following versionscrud/crud/common/utils.lua
Lines 589 to 599 in 2d3d479
and external merger can be provided for the following versions
crud/crud/common/utils.lua
Lines 607 to 620 in 2d3d479
There is a separate select implementation without merger for older versions without internal merger support (
<= 1.10.7
,== 2.5.0
,>= 2.4.0, <= 2.4.1
,>= 2, <= 2.3.2
) and without internal merger if external not provided (< 2.0.0
):select_old
.All versions that require
select_old
are out of support for a long time: it covers<= 1.10.7
and>=2, <= 2.5.2
releases. There is also the>= 1.10.8,
<= 1.10.15version range with
select_old` support.Supporting two select implementation is really bothersome. A lot of time spent to update a code which doesn't seems relevant anymore. I propose to remove this code.
The course of action is as follows.
<= 1.10.7
>=2, <= 2.5.2
.>= 1.10.8,
<= 1.10.15to install
tuple-merger` as well. (We already seem to do that in CMake:crud/CMakeLists.txt
Lines 105 to 107 in 2d3d479
tuple-merger
dependency from CMake to rockspec, as well astuple-keydef
one.select_old
code and compatibility layers in code. Remove related tests and CI presets. Rework "if there is a merger" condition to strict assertion.tuple-merger
dependency in the future: after Tarantool releases>= 1.10.8,
<= 1.10.15` support drop there won't be any need for external merger in supported versions.The text was updated successfully, but these errors were encountered: