Tags: wfvining/couchdb
Tags
Use snapshot for cache insertion
Too many parallel attempts to insert the same keys can result in
`{erlfdb_error, 1020}`, which translates to:
"Transaction not committed due to conflict with another transaction"
This attempts to mitigate the problem by using a snapshot to read the
primary key during insertion.
convert erlfdb_error 2101 to transaction_too_large
convert erlfdb_error 2101 to transaction_too_large (apache#3215)
Print stack if name and stack of exception are present
Fix missing Content-Type in buffered responses It turns out the "application/json" header is added downstream of the delayed response's StartFun which is skipped for buffered responses. This adds those headers back into the response.
PreviousNext