You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/02/10 14:30:38 UTC

[GitHub] [couchdb-docker] sinny777 opened a new issue #167: Partitioned key not working with Docker image of CouchDB

sinny777 opened a new issue #167: Partitioned key not working with Docker image of CouchDB
URL: https://github.com/apache/couchdb-docker/issues/167
 
 
   I'm using Loopback 4 and trying to run migrate option. When using local docker image of CouchDB, it throws following error:
   
   'Invalid key partitioned for this request.'
   
   Here's the full error message:
   
   ```
   name: 'Error',
     error: 'invalid_key',
     reason: 'Invalid key partitioned for this request.',
     scope: 'couch',
     statusCode: 400,
     request: {
       method: 'post',
       headers: { 'content-type': 'application/json', accept: 'application/json' },
       uri: 'http://localhost:5984/auth-clients/_index',
       body: '{"index":{"fields":[{"loopback__model__name":"asc"}]},"partitioned":false,"ddoc":"LBModel__auth_clients__LBIndex__loopback__model__name_index","name":"loopback__model__name_index","type":"json"}',
       qsStringifyOptions: { arrayFormat: 'repeat' }
     },
     headers: {
       uri: 'http://localhost:5984/auth-clients/_index',
       statusCode: 400,
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-docker] wohali closed issue #167: Partitioned key not working with Docker image of CouchDB

Posted by GitBox <gi...@apache.org>.
wohali closed issue #167: Partitioned key not working with Docker image of CouchDB
URL: https://github.com/apache/couchdb-docker/issues/167
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-docker] wohali commented on issue #167: Partitioned key not working with Docker image of CouchDB

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #167: Partitioned key not working with Docker image of CouchDB
URL: https://github.com/apache/couchdb-docker/issues/167#issuecomment-589501847
 
 
   This will be resolved when 3.0.0 releases shortly. I'm going to close this for now; keep an eye out for 3.0.0, probably mid-next week.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-docker] sinny777 commented on issue #167: Partitioned key not working with Docker image of CouchDB

Posted by GitBox <gi...@apache.org>.
sinny777 commented on issue #167: Partitioned key not working with Docker image of CouchDB
URL: https://github.com/apache/couchdb-docker/issues/167#issuecomment-585030018
 
 
   Thanks @willholley , It seems that "partitioned" is supported by latest version (
   3.0) of CouchDB and here's the documentation link for that: 
   **https://docs.couchdb.org/en/master/partitioned-dbs/index.html#**
   As you mentioned, the endpoint (http://localhost:5984) gives me following in features array:["pluggable-storage-engines","scheduler"]
   Neither Cloudant and nor CouchDB docker images support "partitioned" database, so I think I'll have to use the older version of loopback connector for now and wait for this feature to be available with any of the docker images.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-docker] willholley commented on issue #167: Partitioned key not working with Docker image of CouchDB

Posted by GitBox <gi...@apache.org>.
willholley commented on issue #167: Partitioned key not working with Docker image of CouchDB
URL: https://github.com/apache/couchdb-docker/issues/167#issuecomment-584153087
 
 
   The partitioned database feature isn't in a released version of CouchDB, so unless you're building a container yourself from source, this is likely because the feature is not available. Loopback could detect this by testing the `features` array advertised by the root endpoint (http://localhost:5984/).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services