[0.89-fb] [master] Enable ServerManager to pick up config changes online for resending messages

Author: aaiyer

Summary: Enable ServerManager to pick up config changes online for resending messages

Test Plan: added a unit test

Reviewers: gauravm

Reviewed By: gauravm

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D1046640

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1541201 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-9949] Fix the race condition between Compaction and StoreScanner.init

Author: manukranthk

Summary: The StoreScanner constructor has multiple stages and there can be a race betwwen an ongoing compaction and the StoreScanner constructor where we might get the list of scanners before a compaction and seek on those scanners after the compaction.

Test Plan: Unit tests

Reviewers: aaiyer, liyintang

Reviewed By: liyintang

CC: hbase-eng@, liyintang

Differential Revision: https://phabricator.fb.com/D1046675

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1541202 13f79535-47bb-0310-9956-ffa450edef68