nickva commented on issue #526: Fix  _local_docs end-point
URL: https://github.com/apache/couchdb/pull/526#issuecomment-315840232
 
 
   Squerged.
   
   But also see a badarith exception when testing _local_docs endpoint by hand:
   
   did a few:
   ```
   http  post 'http://adm:pass@localhost:15984/d' x=1 _id=_local/1
   {
       "id": "_local/1",
       "ok": true,
       "rev": "0-1"
   }
   ```
   
   Then see the exception with:
   
   ```
   http get 'http://adm:pass@localhost:15984/d/_local_docs'
   HTTP/1.1 500 Internal Server Error
   {
       "error": "unknown_error",
       "reason": "badarith",
       "ref": 2604624769
   }
   ```
   
   Logs show:
   ```
   2017-07-17T18:25:22.809235Z [email protected] <0.12977.0> e7fdbd92ef 
req_err(2604624769) unknown_error : badarith
       [<<"fabric_view_all_docs:handle_message/3 
L157">>,<<"rexi_utils:process_mailbox/6 L55">>,<<"fabric_view_all_docs:go/6 
L123">>,<<"fabric_view_all_docs:go/5 L32">>,<<"chttpd_db:all_docs_view/4 
L644">>,<<"chttpd:process_request/1 L295">>,<<"chttpd:handle_request_int/1 
L231">>,<<"mochiweb_http:headers/6 L122">>]
   ```
   
   Will have to track this down
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to