[TEST] Wait for longer on slow nodes until replicating has kicked in
[STORE] Treat reading past EOF as an corrupted index when we fail to read segment infos
Aggregations: DateHistogramBuilder accepts String preOffset and postOffset

This is what DateHistogramParser expects so will enable the builder to build valid requests using these variables.
Also added tests for preOffset and postOffset since these tests did not exist

Closes #5586
[TEST] Fold SuggestActionTest into SuggestSearchTests

Instead of running the tests twice this commit just randomizes the API
that we use to return the suggestions.
Improve handling of failed primary replica handling
Out of #6808, we improved the handling of a primary failing to make sure replicas that are initializing are properly failed as well. After double checking it, it has 2 problems, the first, if the same shard routing is failed again, there is no protection that we don't apply the failure (which we do in failed shard cases), and the other was that we already tried to handle it (wrongly) in the elect primary method.
This change fixes the handling to work correctly in the elect primary method, and adds unit tests to verify the behavior
closes #6816
Do not ignore ConnectTransportException for shard replication operations

A ConnectTransportException should fail the replica shard

Closes #6183
Merge branch 'master' into feature/expressions
Address first round of review comments