We have an environment which can on ocassion create many open revs of a doc. The URLs that the replicator creates are longer than the http://issues.apache.org/jira/browse/COUCHDB-243 "mochiweb has an 8k limit", resulting in a general server crash.
To date the only work-around identified is to "export" the latest revisions of all docs in the database, destroy the database, re-create the database and reload the exported documents.
On one of our environments we have:
These docs have the trouble:
Their requests length - path + params (ie no host:port) are shown here (the key) with the number of times that that length was seen in our log files (the count):
key => count
8544 => 24
8557 => 11
8568 => 2392
8572 => 55
8591 => 893
8594 => 45
8636 => 27
Attached is a file with a sample of these too-long URLs.
|Field||Original Value||New Value|
|Component/s||Replication [ 12313107 ]|
|Skill Level||Regular Contributors Level (Easy to Medium)|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||1.0.3 [ 12316107 ]|
|Fix Version/s||1.1 [ 12314933 ]|
|Resolution||Duplicate [ 3 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|351d 23h 32m||1||Adam Kocoloski||27/Jan/11 15:29|