Refactor pool borrowing and active keyspace switch

Description

Refactor borrowing connections from the pool to make it synchronous and extract keyspace switch out of the connection pool logic.

Environment

None

Pull Requests

None

Status

Assignee

Jorge Bay Gondra

Reporter

Jorge Bay Gondra

Reviewer

None

Fix versions

None

Labels

None

Components

None

PM Priority

None

Pull Request

None

Epic Link

Priority

Major
Configure