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

_ready_buffer: space has no grants for a user #237

Closed
oleg-jukovec opened this issue Aug 6, 2024 · 0 comments · Fixed by #239
Closed

_ready_buffer: space has no grants for a user #237

oleg-jukovec opened this issue Aug 6, 2024 · 0 comments · Fixed by #239
Assignees
Labels
1sp bug Something isn't working

Comments

@oleg-jukovec
Copy link
Collaborator

oleg-jukovec commented Aug 6, 2024

The queue_name_ready_buffer space:

-- Create a space for first ready tasks from each utube.
space_ready_buffer = box.schema.create_space(space_ready_buffer_name, space_opts)
space_ready_buffer:create_index('task_id', {
type = 'tree',
parts = {1, num_type()},
unique = true,
})
space_ready_buffer:create_index('utube', {
type = 'tree',
parts = {2, str_type()},
unique = true,
})
space_ready_buffer:create_index('pri', {
type = 'tree',
parts = {3, num_type(), 1, num_type()},
})

does not have user grants like regular spaces:

tube_grant_space(user, self.name)

@oleg-jukovec oleg-jukovec added 1sp bug Something isn't working labels Aug 6, 2024
@oleg-jukovec oleg-jukovec changed the title _ready_buffer: no grant for a user _ready_buffer: no grants for a user Aug 6, 2024
@oleg-jukovec oleg-jukovec changed the title _ready_buffer: no grants for a user _ready_buffer: space has no grants for a user Oct 7, 2024
themilchenko added a commit that referenced this issue Oct 8, 2024
There was a bug that grant for a user didn't work for spaces with
`_ready_buffer` suffix.

After the patch the `grant` method was added for each driver that
accounts the `grant` for all spaces.

Closes #237
themilchenko added a commit that referenced this issue Oct 9, 2024
There was a bug that grant for a user didn't work for spaces with
`_ready_buffer` suffix.

After the patch the `grant` method was added for each driver that
accounts the `grant` for all spaces.

Closes #237
themilchenko added a commit that referenced this issue Oct 9, 2024
There was a bug that grant for a user didn't work for spaces with
`_ready_buffer` suffix.

After the patch the `grant` method was added for each driver that
accounts the `grant` for all spaces.

Closes #237
themilchenko added a commit that referenced this issue Oct 9, 2024
There was a bug that grant for a user didn't work for spaces with
`_ready_buffer` suffix.

After the patch the `grant` method was added for each driver that
accounts the `grant` for all spaces.

Closes #237
themilchenko added a commit that referenced this issue Oct 9, 2024
There was a bug that grant for a user didn't work for spaces with
`_ready_buffer` suffix.

After the patch the `grant` method was added for each driver that
accounts the `grant` for all spaces.

Closes #237
themilchenko added a commit that referenced this issue Oct 9, 2024
There was a bug that grant for a user didn't work for spaces with
`_ready_buffer` suffix.

After the patch the `grant` method was added for each driver that
accounts the `grant` for all spaces.

Closes #237
oleg-jukovec pushed a commit that referenced this issue Oct 9, 2024
There was a bug that grant for a user didn't work for spaces with
`_ready_buffer` suffix.

After the patch the `grant` method was added for each driver that
accounts the `grant` for all spaces.

Closes #237
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1sp bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants