History log of /6.0.3/kv_engine/engines/default_engine/scrubber_task.cc (Results 1 - 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v7.0.2, v6.6.3, v7.0.1, v7.0.0, v6.6.2, v6.5.2, v6.6.1, v6.0.5, v6.6.0, v6.5.1, v6.0.4, v6.5.0, v6.0.3, v5.5.4, v5.5.5, v5.5.6, v6.0.1, v5.5.3, v6.0.0, v5.1.3, v5.5.2, v5.5.1, v5.1.2, v5.1.1, v5.0.1, v5.1.0, v5.0.0, v4.6.2_ep, v4.6.2_mc, v4.6.1_ep, v4.6.0_ep, v4.5.1-MP1_mc
# d4b3338b 01-Nov-2016 Trond Norbye <trond.norbye@gmail.com>

MB-21512: Don't shutdown EngineManager twice

Previously we called the shutdown manually, and later on
it was called from the destructor without checking if
it was already shut down.

MB-21512: Don't shutdown EngineManager twice

Previously we called the shutdown manually, and later on
it was called from the destructor without checking if
it was already shut down.

In addition to that we had some cases where we could race
during shutdown by just checking an atomic variable if
we should add stuff to the internal queues or not. We
have to hold the mutex so that another thread can't change
that state right after we checked it, but before we added
our items to the list.

Change-Id: I7686e549f2e80bbdc165d608513b882774fe658e
Reviewed-on: http://review.couchbase.org/69335
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


# 6232d98a 01-Nov-2016 Trond Norbye <trond.norbye@gmail.com>

Refactor: Move scrubberTask out of engine_manager.cc

Change-Id: I3540aa3e85e2b1ab19e7763a4b8a350505d43ee3
Reviewed-on: http://review.couchbase.org/69378
Tested-by: buildbot <build@co

Refactor: Move scrubberTask out of engine_manager.cc

Change-Id: I3540aa3e85e2b1ab19e7763a4b8a350505d43ee3
Reviewed-on: http://review.couchbase.org/69378
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...