Skip to content

Set Permissions Command Returns Before Actual Permission Is Given? #14273

Closed Locked Answered by michaelklishin
mkadirtan asked this question in Questions
Discussion options

You must be logged in to vote

@mkadirtan many CLI operations are asynchronous. Schema (including permissions) operations specifically must be replicated to the entire cluster, which takes time.

This is more obvious in the cases of definition imports, those can take seconds or even minutes, depending on how many virtual and queues/streams, and their replicas, there are to start.

The issue here is that you assume everything in a distributed system to happen synchronously.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14273 on July 22, 2025 16:24.