Refs: #630 - added new test mode for regression test lp1299116
Refs #10: avoid gvwstate.file to interfere with unit tests
1. move vst.write_file from pc_proto.cpp to pc.cpp
2. add pc.save_prim to control save prim component or not.
Refs #10: remove pc.save_prim and make pc.recovery to control write state file or not
Refs #10: remove gvwstate.dat file if pc.recovery=0 to avoid read stale state file.
This situation could happens in following scenario.
1. node starts up with pc.recovery=1, and has state file
2. then node starts up with pc.recovery=0, so right now state file is stale.
3. then node starts up with pc.recovery=1 again, stale file is used.
Refs #10: fix typo
Refs #10: remove state file on graceful shutdown
Merge branch 'master' into 3.x
Refs #630 - added test mode 3 for UK testing
Refs: #630
spelling fix apporach -> approach
merge branch gh10 to 3.x
Refs #38: trigger applier threads to exit if gcs_recv_thread exits
Refs #38: galera module handles self-leave message and calls gcs_close
Merge branch '2.x' into 3.x
refs #30 - manually patched lp1299116/run to match version in 3.x.
Merge branch '2.x' into 3.x
Refs #851:much proper garb start/stop function return code

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3538 9148e567-b586-4176-b9b8-4e36cb4ec61b
refs #30 - removed invalid row count check, cleaned up logging
Merge branch '2.x' of github.com:codership/galera into 2.x
Merge branch '2.x' into 3.x