Use state announced via set_vbucket event.
Use state announced via set_vbucket event.

With explicit sync right before some vbucket goes dead it's no need
anymore to re-read the state from vbucket. And actually this sync
before going dead used to work incorrectly because the state stored in
vbucket was always something different than 'dead'.

Change-Id: Idf2a8bfd2a6a690454e227bc7ffc532d2dfef81a
Reviewed-on: http://review.couchbase.org/12362
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

ceejatec/ns_server,mschoch/ns_server,mschoch/ns_server,ceejatec/ns_server,daverigby/ns_server,mschoch/ns_server,ceejatec/ns_server,vzasade/ns_server,daverigby/ns_server,nimishzynga/ns_server,membase/ns_server,membase/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,ceejatec/ns_server,daverigby/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,nimishzynga/ns_server,membase/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,vzasade/ns_server,vzasade/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,t3rm1n4l/ns_server,vzasade/ns_server,mschoch/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,nimishzynga/ns_server