Use per-request keyspace when repreparing on the fly

Description

With native protocol v5 it's possible to prepare a statement that has a per-request keyspace (). But currently, if the statement gets invalidated on the server and we need to reprepare it on the fly, the reprepare doesn't use the keyspace:

The source of the bug is this line:

CqlRequestHandler#processErrorResponse

It should be:

Environment

None

Pull Requests

None

Status

Assignee

Olivier Michallat

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Minor
Configure