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

Cluster configuration fixes for 2.0 #360

Closed

Conversation

robertkowalski
Copy link
Member

In CouchDB 2.0 we don't have _config on the clustered interface. As user/admin management also uses _config, also hide it on a cluster.

We still support it on the backdoor ports.

closes COUCHDB-2601 COUCHDB-2599 COUCHDB-2390
COUCHDB-2390

when running the testsuite in the browser tests were stopped unti
confirming with `OK`
In CouchDB 2.0 we don't have `_config` on the clustered interface.

We still support it on the backdoor ports.

closes COUCHDB-2601
COUCHDB-2390
`_config` is not available on a cluster, so don't offer to alter
it for creating admins, changing passwords and fixing the party
mode.

closes COUCHDB-2601 COUCHDB-2599 COUCHDB-2390
var deferred = FauxtonAPI.Deferred(),
checked = FauxtonAPI.isRunningOnBackdoorPort();

FauxtonAPI.when(checked).then(function (res) {
Copy link
Member

Choose a reason for hiding this comment

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

You don't need FauxtonAPI.when here. You only doing one fetch

@robertkowalski
Copy link
Member Author

todo: remove the caching

just "cache" the promise

@garrensmith
Copy link
Member

@robertkowalski this looks good once you remove the caching.

return data;
}

return data;
Copy link
Contributor

Choose a reason for hiding this comment

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

minor - but: unreachable statement (can just be left out?)

@sebastianrothbucher
Copy link
Contributor

though I didn't run it I like it - and it's a big step 2wards a usable 2.0

@robertkowalski
Copy link
Member Author

this got stale as user management was converted to react

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.

3 participants