Skip to content

Don't prepare the statement on all connections #1290

@muzarski

Description

@muzarski

Similarly to #1289, driver unnecessarily tries to prepare the statement on all connections.

It looks like scylla prepares the statement on every shard when processing PREPARE request: https://github.com/scylladb/scylladb/blob/8f0d0daf53397aa68312571ab9d01d8b75cd1770/transport/server.cc#L1104-L1114.

We should prepare the statement on each node once.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestperformanceImproves performance of existing features

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions