summaryrefslogtreecommitdiff
path: root/NOTICE
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2010-03-19 15:20:12 +0000
committerPaul Joseph Davis <davisp@apache.org>2010-03-19 15:20:12 +0000
commitfbcc835d06dc017aebaf0b837bf56ca524f3c9c5 (patch)
treef14fadf4c356ef3992681cc2b2ebdd948e5ab55b /NOTICE
parentc4cd72b2dfa34e9d20e47ffabf173023bd3ecefb (diff)
Avoid a possible race condition.
The old code was relying on a DOWN message being sent before a call to get the current ref counter. Its possible that the request was sent before that happened causing an error. The new code doesn't use messages from the child process and instead uses a monitor to know when the process went down. Then it sends up to 10,000 requests for the current count. Theoretically the only way this will fail is if the DOWN message to the ref_counter is delayed for an extremely long time or dropped entirely. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925264 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions