We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to create a session without health check serfHealth, but seems it doesn't work in Consul v1.0.0+:
# curl -X PUT -d '{"name": "dbservice", "checks": []}' http://localhost:8500/v1/session/create {"ID":"3e6ea5b2-ab34-b890-878c-52cd057e3cf3"} # curl -s http://localhost:8500/v1/session/info/3e6ea5b2-ab34-b890-878c-52cd057e3cf3 | jq [ { "ID": "3e6ea5b2-ab34-b890-878c-52cd057e3cf3", "Name": "dbservice", "Node": "bal1test.aes128.com", "Checks": [ "serfHealth" ], "LockDelay": 15000000000, "Behavior": "release", "TTL": "", "CreateIndex": 1354967, "ModifyIndex": 1354967 } ] # consul members Node Address Status Type Build Protocol DC Segment bal1test.aes128.com 192.168.241.21:8301 alive server 1.0.1 2 dc1 <all> bal2test.aes128.com 192.168.241.22:8301 alive server 1.0.1 2 dc1 <all> db1test.aes128.com 192.168.241.27:8301 alive server 1.0.1 2 dc1 <all> db2test.aes128.com 192.168.241.28:8301 alive server 1.0.1 2 dc1 <all>
Consul v0.9.3 works correctly.
The text was updated successfully, but these errors were encountered:
Hi @Vanav that does look like a regression - thanks for the report.
Sorry, something went wrong.
Works around mapstructure behavior to enable sessions with no checks.
ca3f902
Fixes #3732
No branches or pull requests
I want to create a session without health check serfHealth, but seems it doesn't work in Consul v1.0.0+:
Consul v0.9.3 works correctly.
The text was updated successfully, but these errors were encountered: