open-nomad/website/content/docs/configuration
Michael Schurter 7494a0c4fd core: remove all traces of unused protocol version
Nomad inherited protocol version numbering configuration from Consul and
Serf, but unlike those projects Nomad has never used it. Nomad's
`protocol_version` has always been `1`.

While the code is effectively unused and therefore poses no runtime
risks to leave, I felt like removing it was best because:

1. Nomad's RPC subsystem has been able to evolve extensively without
   needing to increment the version number.
2. Nomad's HTTP API has evolved extensively without increment
   `API{Major,Minor}Version`. If we want to version the HTTP API in the
   future, I doubt this is the mechanism we would choose.
3. The presence of the `server.protocol_version` configuration
   parameter is confusing since `server.raft_protocol` *is* an important
   parameter for operators to consider. Even more confusing is that
   there is a distinct Serf protocol version which is included in `nomad
   server members` output under the heading `Protocol`. `raft_protocol`
   is the *only* protocol version relevant to Nomad developers and
   operators. The other protocol versions are either deadcode or have
   never changed (Serf).
4. If we were to need to version the RPC, HTTP API, or Serf protocols, I
   don't think these configuration parameters and variables are the best
   choice. If we come to that point we should choose a versioning scheme
   based on the use case and modern best practices -- not this 6+ year
   old dead code.
2022-02-18 16:12:36 -08:00
..
acl.mdx docs: note that clients need to have ACLs enabled (#11799) 2022-01-07 16:18:41 -05:00
audit.mdx Adds documentation for file mode to sink docs (#10972) 2021-07-29 16:09:18 -04:00
autopilot.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
client.mdx docs: add cores to client reserved config block. 2022-01-26 15:56:16 +01:00
consul.mdx agent: support multiple http address in addresses.http (#11582) 2022-01-03 09:33:53 -05:00
index.mdx docs/tests for multiple HTTP address config (#11760) 2022-01-03 10:17:13 -05:00
plugin.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
search.mdx docs: Fix minor fuzzy search things (#10423) 2021-04-21 14:55:17 -05:00
sentinel.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
server.mdx core: remove all traces of unused protocol version 2022-02-18 16:12:36 -08:00
server_join.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
telemetry.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
tls.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
ui.mdx ui: change Consul/Vault base URL field name (#11589) 2021-11-30 13:20:29 -05:00
vault.mdx docs: clarify vault.token only required on servers 2021-11-18 16:34:59 -08:00