Skip to content
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

crud: add execution access to a VShard user #386

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

oleg-jukovec
Copy link
Contributor

The patch adds execution access on a stroage for crud functions to a VShard storage user in the VShard manner [1].

I didn't forget about

  • Tests
  • Changelog
  • Documentation

Closes #366

CHANGELOG.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/gh-366-vshard-user-experience branch 2 times, most recently from bf1e833 to 07b9469 Compare October 12, 2023 13:45
@oleg-jukovec oleg-jukovec marked this pull request as ready for review October 12, 2023 15:16
crud/common/utils.lua Outdated Show resolved Hide resolved
crud/common/utils.lua Outdated Show resolved Hide resolved
crud/common/utils.lua Outdated Show resolved Hide resolved
crud/common/utils.lua Outdated Show resolved Hide resolved
doc/playground.lua Show resolved Hide resolved
README.md Show resolved Hide resolved
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/gh-366-vshard-user-experience branch 6 times, most recently from e905a99 to 10db835 Compare October 16, 2023 10:40
pgroup.test_no_vshard_storage_cfg = function(g)
t.assert_error_msg_contains('vshard.storage.cfg() must be called first', function()
g.test_server:exec(function()
box.cfg({})
Copy link
Member

Choose a reason for hiding this comment

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

If you are able to exec, it is likely to be already configured

The patch adds execution access on a stroage for crud functions
to a VShard storage user in the VShard manner [1].

1. https://github.com/tarantool/vshard/blob/b3c27b32637863e9a03503e641bb7c8c69779a00/vshard/storage/init.lua#L777-L780

Closes #366
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/gh-366-vshard-user-experience branch from 10db835 to 5912e3d Compare October 16, 2023 13:28
@DifferentialOrange DifferentialOrange merged commit 2920966 into master Oct 16, 2023
27 of 29 checks passed
@DifferentialOrange DifferentialOrange deleted the oleg-jukovec/gh-366-vshard-user-experience branch October 16, 2023 13:47
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.

Vshard cluster user experience
2 participants