Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.4
    • Component/s: None
    • Labels:
      None

      Description

      Some firewalls and network devices kill connections that have been idling for some time.
      To avoid that, a heartbeat functionality should be implemented that makes a request to the Cassandra server after a configurable interval passed since the last request.

      This functionality will be common in all DataStax drivers.

      The setting is included in the PoolingOptions.

      //Heartbeat after 50 seconds of idling
      Cluster.Builder()
        .AddContactPoints(hosts)
        .WithPoolingOptions(
          new PoolingOptions()
          .SetHeartBeatInterval(50000));
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                jorge.gondra Jorge Bay Gondra
                Reporter:
                jorge.gondra Jorge Bay Gondra
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: