Mapper: Append Session hash code and logged keyspace to the key in the StatementFactory

Description

Using the same global MappingConfiguration with different sessions and different keyspaces could lead to additional roundtrips (execute -> unprepared -> prepare messages).

Fully qualifying the key of the internal statement cache will solve this potential issue.

Environment

None

Activity

Show:
Jorge Bay Gondra
May 28, 2018, 6:10 PM

Closing this as duplicate of and CSHARP-667.

Duplicate

Assignee

Unassigned

Reporter

Jorge Bay Gondra

Labels

None

PM Priority

None

Fix versions

None

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

C# P-DEF

Pull Requests

None

Size

None

Components

Priority

Major