From ddd8e85146baa7f7aeee2f707731e6ef2d79caa8 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Wed, 8 Jan 2014 10:46:05 -0800 Subject: [PATCH] chore(Documentation/api): introduce acronym later in the text --- Documentation/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/api.md b/Documentation/api.md index 0f0cbc343..32d65bc32 100644 --- a/Documentation/api.md +++ b/Documentation/api.md @@ -357,9 +357,9 @@ curl -X GET http://127.0.0.1:4001/v2/keys/dir/asdf\?consistent\=true\&wait\=true } ``` -### Atomic Compare-and-Swap (CAS) +### Atomic Compare-and-Swap -Etcd can be used as a centralized coordination service in a cluster and `CompareAndSwap` is the most basic operation used to build a distributed lock service. +Etcd can be used as a centralized coordination service in a cluster and `CompareAndSwap` (CAS) is the most basic operation used to build a distributed lock service. This command will set the value of a key only if the client-provided conditions are equal to the current conditions.