MB-20312: Initialise snapshot task priority 83/66283/3
authorJim Walker <jim@couchbase.com>
Thu, 28 Jul 2016 10:36:53 +0000 (11:36 +0100)
committerJim Walker <jim@couchbase.com>
Thu, 28 Jul 2016 18:26:29 +0000 (18:26 +0000)
commit60f5d2f0c5c70821adc2b0964c123ba61c51ead3
treefacf7e5af2270cb2927571482df41a90de2841d1
parent297e7b9dbe92f25feebaf2243d31b65cb9388a2e
MB-20312: Initialise snapshot task priority

The internal priority of VBSnapshotTask is not
intitialised, it is likely tasks requested to run at
low may actually become high (or vice versa).

Note this is not the GlobalTask priority, just an internal
one to this particular task.

Change-Id: Iabf91a8fe6fee0a8cf8bce99e72e4b22dd57040b
Reviewed-on: http://review.couchbase.org/66283
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Will Gardner <will.gardner@couchbase.com>
Well-Formed: buildbot <build@couchbase.com>
src/tasks.h