-
Notifications
You must be signed in to change notification settings - Fork 225
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
Cluster configuration fixes for 2.0 #360
Conversation
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
9340260
to
e740ef4
Compare
`_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
e740ef4
to
10e6c97
Compare
var deferred = FauxtonAPI.Deferred(), | ||
checked = FauxtonAPI.isRunningOnBackdoorPort(); | ||
|
||
FauxtonAPI.when(checked).then(function (res) { |
There was a problem hiding this comment.
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
todo: remove the caching just "cache" the promise |
@robertkowalski this looks good once you remove the caching. |
return data; | ||
} | ||
|
||
return data; |
There was a problem hiding this comment.
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?)
though I didn't run it I like it - and it's a big step 2wards a usable 2.0 |
this got stale as user management was converted to react |
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