Merge branch 'v1.8' into feature/helm

This commit is contained in:
yellow chicks 2022-07-28 09:00:41 +08:00 committed by GitHub
commit 4965aa15f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -6,9 +6,9 @@ weight: 2000
description: "Learn how to use distributed locks to provide exclusive access to a resource"
---
Now that you've learned what the Dapr distributed lock API building block provides, learn how it can work in your service. The example below describes an application that aquires a lock. This example uses the Redis lock component to demonstrate how to lock resources. For a list of supported lock stores, see [this list](/reference/components-reference/supported-locks/).
Now that you've learned what the Dapr distributed lock API building block provides, learn how it can work in your service. In this guide, an example application acquires a lock using the Redis lock component to demonstrate how to lock resources. For a list of supported lock stores, see [this reference page](/reference/components-reference/supported-locks/).
The diagram below shows two instances of the same application acquiring a lock, where one instance is successful and the other is denied.
In the diagram below, two instances of the same application acquire a lock, where one instance is successful and the other is denied.
<img src="/images/building-block-lock-example.png" width=1000 alt="The diagram below shows two instances of the same application acquiring a lock, where one instance is successful and the other is denied">
@ -188,4 +188,4 @@ func main() {
## Next steps
* Read [distributed lock API overview]({{< ref distributed-lock-api-overview.md >}})
Read [the distributed lock API overview]({{< ref distributed-lock-api-overview.md >}}) to learn more.

View File

@ -74,7 +74,7 @@ curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
**For ARM64 Macs:**
ARM64 Macs support is available as a *preview feature*. When installing from the terminal, native ARM64 binaries are downloaded once available. For older releases, AMD64 binaries are downloaded and must be run with Rosetta2 emulation enabled.
When installing from the terminal, native ARM64 binaries are available.
To install Rosetta emulation:
@ -92,7 +92,7 @@ brew install dapr/tap/dapr-cli
**For ARM64 Macs:**
For ARM64 Macs, only Homebrew 3.0 and higher versions are supported. Please update Homebrew to 3.0.0 or higher and then run the command below:
For ARM64 Macs, Homebrew 3.0 and higher versions are supported. Update Homebrew to 3.0.0 or higher and then run the command below:
```bash
arch -arm64 brew install dapr/tap/dapr-cli