Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19052

`MetadataManager.contactPoints` may be Misused.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • Client/java-driver
    • None
    • All
    • None

    Description

      Some usage of `getContactPoints()` (for `MetadataManager.contactPoints`) may be wrong. They may want to use `metadata.getNodes()` instead, like this one.

      `MetadataManager.contactPoints` are hard-coded initial config of nodes, not including any nodes added in runtime. Consider changing it to `public final ImmutableSet<EndPoint>` instead.

      More investigation needed.

       

      Attachments

        Activity

          People

            henry.hughes Henry Hughes
            janesiyaohe Jane He
            Henry Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: