Mark the host as UP after re-preparing queries

Description

In duration tests that run against C* 3.0.x we get the following errors:

It doesn't happen in more recent server versions because prepared statements are "remembered" by the nodes through restarts https://issues.apache.org/jira/browse/CASSANDRA-8831

We should only allow a host to be used by requests after the driver is done re-preparing all queries (when the re-prepare on up setting is enabled).

Environment

None

Pull Requests

None

Assignee

Unassigned

Reporter

Joao Reis

Labels

None

PM Priority

None

Fix versions

None

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

Size

None

Priority

Major
Configure