Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-7212

Reduce RS Discovery overhead for RS clusters and Sharded clusters with sharded connection mode

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.6.0.Alpha1
    • 2.5.0.Alpha2
    • mongodb-connector
    • None
    • False
    • None
    • False

      Currently the ReplicaSetDiscovery is run in a monitor thread during the entire lifecycle of connector. However since we are now using connection strings (where the host list is always used as a seed) this is no longer needed and only introduces ambiguous logs and database requests.

      The proposal is to check the server topology once and only start the monitor thread when we are connecting to sharded cluster with replica_set mode (which is going to be removed in 2.6)

            jcechace@redhat.com Jakub Čecháček
            jcechace@redhat.com Jakub Čecháček
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: