Skip to content

Need a way to choose a specific host  #1479

@amnonh

Description

@amnonh

Please answer these questions before submitting your issue. Thanks!

What version of Cassandra are you using?

Scylla 4.1

What version of Gocql are you using?

latest

What did you do?

create new session

For monitoring and managing purpose it is useful to read from a node system table.
The system tables are node local so there should be a way to specify the host we want to open the session to.

for example something like:

options = &sessionOption{
    host: '192.168.1.2',
}
gocql.NewSession(cluster, options)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions