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

(WIP) support dropping server from the cluster #2234

Closed
wants to merge 11 commits into from
Closed

Conversation

dgnorton
Copy link
Contributor

Issue #1471


// RequiredPrivileges returns the privilege required to execute a DropServerStatement.
func (s *DropServerStatement) RequiredPrivileges() ExecutionPrivileges {
return ExecutionPrivileges{{Name: "", Privilege: AllPrivileges}}
Copy link
Contributor

Choose a reason for hiding this comment

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

What does AllPrivileges actually mean? Means I have to have that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

AllPrivileges means privileges to do anything on the cluster.

@otoolep
Copy link
Contributor

otoolep commented Apr 10, 2015

Generally makes sense, but I don't see the value of allowing base and bit-size control of that new function.

@dgnorton
Copy link
Contributor Author

@otoolep We have to have two separate functions if we don't allow the bitSize param.

@otoolep
Copy link
Contributor

otoolep commented Apr 10, 2015

OK, thanks @dgnorton -- perhaps allow bit-size, but not base?

influxdb-denver-pair and others added 3 commits May 2, 2015 15:07
…ode.dropAndExit requires config because Broker.close and DataNode.close erase their path.
applyDropServer: can't lock because our caller already holds a lock.

Node.dropAndExit requires config because the Broker and DataNode
(Server) Close methods erase their path.
@corylanou
Copy link
Contributor

Branch merge history corrupted and unable to use git to fix. Closed and re-opened in new branch as #2486

@corylanou corylanou closed this May 4, 2015
@corylanou corylanou deleted the fix-1471 branch May 20, 2015 14:37
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.

5 participants