couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enda Farrell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-455) get_result,infinity error when replicating an empty database
Date Fri, 07 Aug 2009 10:18:15 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740490#action_12740490
] 

Enda Farrell commented on COUCHDB-455:
--------------------------------------

Hi Adam - thank you for taking a look at this.

We alas don't see other related error messages as on a live env, anything other than ERROR
causes way too much logging (and until [https://issues.apache.org/jira/browse/COUCHDB-412]
is fixed, we'll have to keep it this way), so it's possible that there is more information
out there.

I'll try to make the same situation happen on our testing envs - but as our live envs have
(a) a VPN and (b) active use, we often don't see these same problems until they are on our
live envs.

It *may* be possible that the calling multiple times is happening, but it seems unlikely as:
(1) there's a list of databases to be replicated,
(2) we iterate over this list,
(3) we sleep for a little (one second in the above)
(4) start over the list again

It is a Java/Spring app, so there may be things going on that I many not be fully aware of.
I'll add more counters and alerts to see if replicator objects have more than once instance
at any point in time.

> get_result,infinity error when replicating an empty database
> ------------------------------------------------------------
>
>                 Key: COUCHDB-455
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-455
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.9
>            Reporter: Enda Farrell
>
> We have code that regularly calls for CouchDB nodes to replicate with pairs in our other
datacentre. It ocassionally has the follwing error:
> {code}
> INFO bbc.forge.engineering.couchdb.replicatr.ReplicateWorker 371 - Bad replication: [kv103.back.live.telhc.local:5986/tvp_yahoowidgets
<- kv103.back.live.telhc.local:5986 (ACE_METADATA_) {"source":"http://kv103.back.live.telhc.local:5986/tvp_yahoowidgets","target":"tvp_yahoowidgets"}]:
response:[HTTP/1.1 500 Internal Server Error - {"error":"noproc","reason":"{gen_server,call,[<0.17199.212>,get_result,infinity]}"}
> {code}
> The remote database "http://kv103.back.live.telhc.local:5986/tvp_yahoowidgets" is empty:
> {code}curl http://kv103.back.live.telhc.local:5986/tvp_yahoowidgets
> {"db_name":"tvp_yahoowidgets","doc_count":0,"doc_del_count":0,"update_seq":0,"purge_seq":0,"compact_running":false,"disk_size":5920,"instance_start_time":"1249559096646177"}
> {code}
> This same "get_result,infinity", is seen on another empty database:
> {code}
> curl http://kv103.back.live.telhc.local:5984/avalanche150k
> {"db_name":"avalanche150k","doc_count":0,"doc_del_count":0,"update_seq":0,"purge_seq":0,"compact_running":false,"disk_size":250480,"instance_start_time":"1249559230162131"}
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message