lightcouch / LightCouch

CouchDB Java API
www.lightcouch.org
Apache License 2.0
67 stars 70 forks source link

org.lightcouch.CouchDbException: badmatch error while bulk save #72

Closed sawandarekar closed 5 years ago

sawandarekar commented 5 years ago

Hi,

I am using lightcouch version : 0.1.8

I am doing bulk save of 2000 records and after the saving 3199599 number of records i am getting this Exception.

   org.lightcouch.CouchDbException: Internal Server Error{"error":"badmatch","reason":"false","ref":2404549931}

    at org.lightcouch.CouchDbClientBase.validate(CouchDbClientBase.java:647)
    at org.lightcouch.CouchDbClient$3.process(CouchDbClient.java:222)
    at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:142)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:189)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    at org.lightcouch.CouchDbClientBase.executeRequest(CouchDbClientBase.java:469)
    at org.lightcouch.CouchDbClientBase.post(CouchDbClientBase.java:609)
    at org.lightcouch.CouchDbClientBase.bulk(CouchDbClientBase.java:372)
    DataAccessServiceImpl.bulkSave(DataAccessServiceImpl.java:117)

Does anyone have any clue on this???