Details
-
Bug
-
Resolution: Incomplete
-
Major
-
0.8.0
-
None
-
Security Level: Public
-
None
Description
The shutdown function in the Couchbase object seems to take over 2 seconds.
From the discussion with the bug reporter:
@ingenthr it looks like the mc_client.done() is the culprit. the bucket is being deleted every request, calling mc_client.done() which is taking 2.3 sec to finish asa @ 2:00
oh? thanks for tracing that down! I'll get an issue filed ingenthr @ 2:00
perezd [~derek@23-24-210-193-static.hfc.comcastbusiness.net] entered the room. 2:00
client.Bucket asa @ 2:01
perezd left the room (quit: Client Quit). 2:01
that's interesting ingenthr @ 2:03
I wonder what it's doing there 2:03
is it bad to not properly shutdown? asa @ 2:08
looks like there is self._dispatcher_stopped_event.wait(2) 2:08
well, I think there's a configuration thread. it may leak something? I'm not certain to be honest ingenthr @ 2:08
comment it out and suddenly it iis very fast. asa @ 2:08
line 66 in couchbaseclient.py 2:09
heh ingenthr @ 2:09
well, this has been the area we need to fix I beleive 2:09
asa @ 2:10