From ec4d22c3f9e7e987e69ea218f902963bb2e64103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= Date: Fri, 24 May 2024 11:57:48 +0200 Subject: [PATCH] Add changelog item MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- .changelog/21208.txt | 3 +++ website/content/commands/lock.mdx | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changelog/21208.txt diff --git a/.changelog/21208.txt b/.changelog/21208.txt new file mode 100644 index 0000000000..9613aa7ce8 --- /dev/null +++ b/.changelog/21208.txt @@ -0,0 +1,3 @@ +```release-note:bug +http: Fix regression preventing sessions from being created without a node, as long as a TTL was specified and there are no `NodeChecks`. +``` diff --git a/website/content/commands/lock.mdx b/website/content/commands/lock.mdx index d4f405324c..ca42eae729 100644 --- a/website/content/commands/lock.mdx +++ b/website/content/commands/lock.mdx @@ -24,7 +24,8 @@ If the lock holder count is more than one, then a semaphore is used instead. A semaphore allows more than a single holder, but this is less efficient than a simple lock. This follows the [semaphore algorithm](/consul/tutorials/developer-configuration/distributed-semaphore). -To apply a lock to a remote WAN federated datacenter, run the command with the `-datacenter=` flag on a server agent. You cannot use the command with `-datacenter` on client agents because they are unavailable to the remote datacenter. +To apply a lock to a remote WAN federated datacenter, run the command with the +`-datacenter=` flag. All locks using the same prefix must agree on the value of `-n`. If conflicting values of `-n` are provided, an error will be returned.