Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXED] Do not spin on multi-leader with same term. #4056

Merged
merged 1 commit into from
Apr 14, 2023

If we see another leader with same term we should step down

66ca46e
Select commit
Failed to load commit list.
Merged

[FIXED] Do not spin on multi-leader with same term. #4056

If we see another leader with same term we should step down
66ca46e
Select commit
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Travis CI / Travis CI - Pull Request succeeded Apr 14, 2023 in 5m 17s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #4056 [FIXED] Do not spin on multi-leader with same term..
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has 11 jobs, running in parallel.

Job Go ENV OS State
16283.1 Compile and various other checks 1.19.6 TEST_SUITE=compile Linux passed
16283.2 Run TestNoRace tests 1.19.6 TEST_SUITE=no_race_tests Linux passed
16283.3 Run JetStream tests 1.19.6 TEST_SUITE=js_tests Linux passed
16283.4 Run JetStream cluster tests (1) 1.19.6 TEST_SUITE=js_cluster_tests_1 Linux passed
16283.5 Run JetStream cluster tests (2) 1.19.6 TEST_SUITE=js_cluster_tests_2 Linux passed
16283.6 Run JetStream cluster tests (3) 1.19.6 TEST_SUITE=js_cluster_tests_3 Linux passed
16283.7 Run JetStream super cluster tests 1.19.6 TEST_SUITE=js_super_cluster_tests Linux passed
16283.8 Run MQTT tests 1.19.6 TEST_SUITE=mqtt_tests Linux passed
16283.9 Run non JetStream/MQTT tests from the server package 1.19.6 TEST_SUITE=srv_pkg_non_js_tests Linux passed
16283.10 Run all tests from all other packages 1.19.6 TEST_SUITE=non_srv_pkg_tests Linux passed
16283.11 Compile with older Go release 1.18.x TEST_SUITE=build_only Linux passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Focal)
Go Version 1.19.6
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "vm": {
    "size": "2x-large"
  },
  "go": [
    "1.19.6"
  ],
  "addons": {
    "apt": {
      "packages": [
        "rpm"
      ]
    }
  },
  "go_import_path": "github.com/nats-io/nats-server",
  "jobs": {
    "include": [
      {
        "name": "Compile and various other checks",
        "env": [
          {
            "TEST_SUITE": "compile"
          }
        ]
      },
      {
        "name": "Run TestNoRace tests",
        "env": [
          {
            "TEST_SUITE": "no_race_tests"
          }
        ]
      },
      {
        "name": "Run JetStream tests",
        "env": [
          {
            "TEST_SUITE": "js_tests"
          }
        ]
      },
      {
        "name": "Run JetStream cluster tests (1)",
        "env": [
          {
            "TEST_SUITE": "js_cluster_tests_1"
          }
        ]
      },
      {
        "name": "Run JetStream cluster tests (2)",
        "env": [
          {
            "TEST_SUITE": "js_cluster_tests_2"
          }
        ]
      },
      {
        "name": "Run JetStream cluster tests (3)",
        "env": [
          {
            "TEST_SUITE": "js_cluster_tests_3"
          }
        ]
      },
      {
        "name": "Run JetStream super cluster tests",
        "env": [
          {
            "TEST_SUITE": "js_super_cluster_tests"
          }
        ]
      },
      {
        "name": "Run MQTT tests",
        "env": [
          {
            "TEST_SUITE": "mqtt_tests"
          }
        ]
      },
      {
        "name": "Run non JetStream/MQTT tests from the server package",
        "env": [
          {
            "TEST_SUITE": "srv_pkg_non_js_tests"
          }
        ]
      },
      {
        "name": "Run all tests from all other packages",
        "env": [
          {
            "TEST_SUITE": "non_srv_pkg_tests"
          }
        ]
      },
      {
        "name": "Compile with older Go release",
        "go": "1.18.x",
        "env": [
          {
            "TEST_SUITE": "build_only"
          }
        ]
      }
    ]
  },
  "script": [
    "./scripts/runTestsOnTravis.sh $TEST_SUITE"
  ],
  "deploy": [
    {
      "provider": "script",
      "cleanup": true,
      "script": "curl -sL http://git.io/goreleaser | bash",
      "on": {
        "tags": true,
        "condition": [
          "($TRAVIS_GO_VERSION =~ 1.19) && ($TEST_SUITE = \"compile\")"
        ]
      }
    }
  ]
}