refs #808: donor selection

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3491 9148e567-b586-4176-b9b8-4e36cb4ec61b
refs #808: donor selection

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3492 9148e567-b586-4176-b9b8-4e36cb4ec61b
refs #808: request state transfer in gcs.c needs gcs_proto_ver. coding format adjust

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3493 9148e567-b586-4176-b9b8-4e36cb4ec61b
refs #808: make it compiles. sorry

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3494 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #278: record certification interval. maybe stats name and variable name is not nice.


git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3501 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #278: more clear cert interval stat name, and fetch cert stat atomically

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3505 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #278: remove modification of n_certified_ and dep_dist_ when purge trx.
since we don not need keep them update to date if we have reset function

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3506 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #829: configurable max write set size

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3508 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #829: shorter param name

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3514 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #841: merge 3.x back to branch yan. r3491:3518 

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3519 9148e567-b586-4176-b9b8-4e36cb4ec61b
refs #808: rewrite the code. works as a) firt search ist donor b) then fallback to search sst donor

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3525 9148e567-b586-4176-b9b8-4e36cb4ec61b
refs #841: merge 3.x back to branch yan. r3519:3528

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3529 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #808: in case donor and joiner has no cached item

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3533 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #808:remove some unused parameters and change corresponding function signature. add basic unit test.

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3536 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #808:move the ist safe condition check to the top and perfore refactoring of unit test

git-svn-id: https://devel.codership.com/svn/galera/branches/yan@3537 9148e567-b586-4176-b9b8-4e36cb4ec61b
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
merge 3.x
add some ignored files to .gitignore
Refs #8: backported size_trail_ fix from 3.x to 2.x
correct galera parameter names - replicator.* -> repl.*