You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Sdas0000 (via GitHub)" <gi...@apache.org> on 2024/01/08 16:10:05 UTC

Re: [I] Replication stopped for several databases after some days, couchdb version 3.3.1 [couchdb]

Sdas0000 commented on issue #4897:
URL: https://github.com/apache/couchdb/issues/4897#issuecomment-1881378895

   Nick , We seeing the same issue after configuring our cluster with new values  as per your recommendation: 
   {
     "max_churn": "20",
     "interval": "60000",
     "checkpoint_interval": "5000",
     "startup_jitter": "5000",
     "worker_batch_size": "2000",
     "ssl_certificate_max_depth": "3",
     "max_jobs": "1500",
     "retries_per_request": "5",
     "connection_timeout": "120000",
     "max_history": "7",
     "cluster_quiet_period": "600",
     "verify_ssl_certificates": "false",
     "socket_options": "[{keepalive, true}, {nodelay, false}]",
     "worker_processes": "4",
     "http_connections": "20"
   }
   
   we have 300 databases , after we bounced all the nodes ( 5 nodes ) with the new configuration ( retries_per_request=5,  worker_processes = 4 , worker_processes=20)  , we see replication stopped for some databases  after few days.
   
      "database": "_replicator",
         "id": "d61a276b9c8a25a384356f230df2e840+continuous",
         "pid": "<0.15554.5790>",
         "source": "https://item-cache-master.pr-xxxxxxx.str.xxxxxx.com/item_store-104/",
         "target": "http://localhost:5984/item_store-104/",
         "user": null,
         "doc_id": "9a1dfe729a75461380105a54506eed95",
         "info": {
           "revisions_checked": 56566938,
           "missing_revisions_found": 12566327,
           "docs_read": 12548807,
           "docs_written": 12548807,
           "changes_pending": null,
           "doc_write_failures": 0,
           "bulk_get_docs": 4183751,
           "bulk_get_attempts": 4183751,
           "checkpointed_source_seq": "23258687-g1AAAAJveJzLYWBgYMlgTmEwT84vTc5ISXLILEnN1U1OTM5I1c1NLC5JLdI11EvWKyjSLS7JLwKK5eclFiVn6GXmAaXyEnNygAYwJTIk2f___z8rgzmJISI9JBcoxm5kYWKRnGRCvskEXGVM0FVJDkAyqR7msEjNWrDDLC2MDRJNjcg3nOLgymMBkgwNQArotv2QUGt7DnacWWKaZUpaGs1CzYRIxx2AOA4apefawY4zMDExNzC1JN-CLADRX9Se",
           "source_seq": "23258687-g1AAAAJveJzLYWBgYMlgTmEwT84vTc5ISXLILEnN1U1OTM5I1c1NLC5JLdI11EvWKyjSLS7JLwKK5eclFiVn6GXmAaXyEnNygAYwJTIk2f___z8rgzmJISI9JBcoxm5kYWKRnGRCvskEXGVM0FVJDkAyqR7msEjNWrDDLC2MDRJNjcg3nOLgymMBkgwNQArotv2QUGt7DnacWWKaZUpaGs1CzYRIxx2AOA4apefawY4zMDExNzC1JN-CLADRX9Se",
           "through_seq": "23258687-g1AAAAJveJzLYWBgYMlgTmEwT84vTc5ISXLILEnN1U1OTM5I1c1NLC5JLdI11EvWKyjSLS7JLwKK5eclFiVn6GXmAaXyEnNygAYwJTIk2f___z8rgzmJISI9JBcoxm5kYWKRnGRCvskEXGVM0FVJDkAyqR7msEjNWrDDLC2MDRJNjcg3nOLgymMBkgwNQArotv2QUGt7DnacWWKaZUpaGs1CzYRIxx2AOA4apefawY4zMDExNzC1JN-CLADRX9Se"
         },
         "history": [
           {
             "timestamp": "2024-01-05T20:04:20Z",
             "type": "started"
           },
           {
             "timestamp": "2024-01-05T20:04:20Z",
             "type": "crashed",
             "reason": "{noproc,{gen_server,call,[<0.16674.5865>,stop,1200000]}}"
           },
           {
             "timestamp": "2024-01-05T19:54:14Z",
             "type": "started"
           },
           {
             "timestamp": "2024-01-05T19:54:14Z",
             "type": "crashed",
             "reason": "{changes_reader_died,{timeout,ibrowse_stream_cleanup}}"
           },
           {
             "timestamp": "2024-01-05T19:51:39Z",
             "type": "started"
           },
           {
             "timestamp": "2024-01-05T19:51:39Z",
             "type": "crashed",
             "reason": "{changes_reader_died,{timeout,ibrowse_stream_cleanup}}"
           },
           {
             "timestamp": "2024-01-05T19:38:58Z",
             "type": "started"
           }
         ],
         "node": "couchdb@item-cache-ro-us-east4-5.c.pr-xxxxx.internal",
     "start_time": "2024-01-03T15:21:28Z"
       }
   
   
   Error log : 
   
   Jan 04 09:52:20 item-cache-ro-us-east4-5 couchdb[3345357]: couchdb@item-cache-ro-us-east4-5.c.pr-store-xxxx.internal <0.18866.1840> -------- Replicator, request GET to "https://item-cache-master.pr-store-xxxxxx.str.xxxxxx.com/item_store-104/_changes?feed=continuous&style=all_docs&since=23237954-g1AAAAJveJzLYWBgYMlgTmEwT84vTc5ISXLILEnN1U1OTM5I1c1NLC5JLdI11EvWKyjSLS7JLwKK5eclFiVn6GXmAaXyEnNygAYwJTIk2f___z8rgzmJISLYMxcoxm5kYWKRnGRCvskEXGVM0FVJDkAyqR7msEhRdrDDLC2MDRJNjcg3nOLgymMBkgwNQArotv2QUCt2BjvOLDHNMiUtjWahZkKk4w5AHAeN0p3rwY4zMDExNzC1JN-CLAAhTNNR&timeout=40000" failed due to error {connection_closed,mid_stream}
   Jan 04 09:52:50 item-cache-ro-us-east4-5 couchdb[3345357]: couchdb@item-cache-ro-us-east4-5.c.pr-store-xxxxx.internal <0.23398.1979> -------- Replication `d61a276b9c8a25a384356f230df2e840+continuous` (`https://item-cache-master.pr-store-xxxxx.str.xxxxx.com/item_store-104/` -> `http://localhost:5984/item_store-104/`) failed: {changes_reader_died,{timeout,ibrowse_stream_cleanup}}
   Jan 04 09:58:51 item-cache-ro-us-east4-5 couchdb[3345357]: couchdb@item-cache-ro-us-east4-5.c.pr-store-xxxx.internal <0.10629.1972> -------- Replicator, request GET to "https://item-cache-master.pr-store-xxxxxx.str.xxxxxx.com/item_store-104/_changes?feed=continuous&style=all_docs&since=23237977-g1AAAAJveJzLYWBgYMlgTmEwT84vTc5ISXLILEnN1U1OTM5I1c1NLC5JLdI11EvWKyjSLS7JLwKK5eclFiVn6GXmAaXyEnNygAYwJTIk2f___z8rgzmJISLYPxcoxm5kYWKRnGRCvskEXGVM0FVJDkAyqR7msEhRfrDDLC2MDRJNjcg3nOLgymMBkgwNQArotv2QUCt2AzvOLDHNMiUtjWahZkKk4w5AHAeN0p1bwY4zMDExNzC1JN-CLAA-XdNo&timeout=40000" failed due to error {connection_closed,mid_stream}
   Jan 04 09:59:21 item-cache-ro-us-east4-5 couchdb[3345357]: couchdb@item-cache-ro-us-east4-5.c.pr-store-xxxxx.internal <0.26825.1830> -------- Replication `d61a276b9c8a25a384356f230df2e840+continuous` (`https://item-cache-master.pr-store-xxxxx.str.xxxxxx.com/item_store-104/` -> `http://localhost:5984/item_store-104/`) failed: {changes_reader_died,{timeout,ibrowse_stream_cleanup}}
   
   Note : The above error  messages appears for all databases , also this message was appread for this database(item_store-104)  earlier , but replication was not stopped. 


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org