-
Notifications
You must be signed in to change notification settings - Fork 31
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
log: 'deploying exports' message has no core version #465
Labels
Comments
Totktonada
added
bug
Something isn't working
good first issue
Good for newcomers
labels
Dec 28, 2023
Serpentian
added a commit
to Serpentian/vshard
that referenced
this issue
Dec 29, 2023
exports_deply_funcs() used to log the core version as nil. The problem is the fact, that table.concat was used for core version string, so the complied exports always had nil instead of core_version. table.concat doesn't work with non-array tables, as they have no defined order. Let's explicitly define __tostring function for version and use it in order to log core version. Closes tarantool#465 NO_DOC=bugfix
Serpentian
added a commit
to Serpentian/vshard
that referenced
this issue
Dec 29, 2023
exports_deply_funcs() used to log the core version as nil. The problem is the fact, that table.concat was used for core version string, so the complied exports always had nil instead of core_version. table.concat doesn't work with non-array tables, as they have no defined order. Let's explicitly define __tostring function for version and use it in order to log core version. Closes tarantool#465 NO_DOC=bugfix
Serpentian
added a commit
to Serpentian/vshard
that referenced
this issue
Jan 11, 2024
exports_deploy_funcs() used to log the core version as nil. The problem is the fact, that table.concat was used for core version string, so the complied exports always had nil instead of core_version. table.concat doesn't work with non-array tables, as they have no defined order. Let's explicitly define __tostring function for version and use it in order to log core version. Closes tarantool#465 NO_DOC=bugfix
Serpentian
added a commit
to Serpentian/vshard
that referenced
this issue
Jan 11, 2024
exports_deploy_funcs() used to log the core version as nil. The problem is the fact, that table.concat was used for core version string, so the complied exports always had nil instead of core_version. table.concat doesn't work with non-array tables, as they have no defined order. Let's explicitly define __tostring function for version and use it in order to log core version. Closes tarantool#465 NO_DOC=bugfix
Gerold103
pushed a commit
that referenced
this issue
Jan 11, 2024
exports_deploy_funcs() used to log the core version as nil. The problem is the fact, that table.concat was used for core version string, so the complied exports always had nil instead of core_version. table.concat doesn't work with non-array tables, as they have no defined order. Let's explicitly define __tostring function for version and use it in order to log core version. Closes #465 NO_DOC=bugfix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's look on the code.
vshard/vshard/storage/exports.lua
Lines 44 to 48 in 5bfe03b
vshard/vshard/storage/exports.lua
Lines 59 to 60 in 5bfe03b
The
exports.core_version
field is always an empty string.table.concat()
concetenates an array, but not a map.The text was updated successfully, but these errors were encountered: