Skip to content

Commit 6a4a886

Browse files
committed
Update actor state store docs to include strong consistency requirement
Signed-off-by: Jonathan Collinge <[email protected]>
1 parent 9a30f4a commit 6a4a886

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

daprdocs/content/en/developing-applications/building-blocks/actors/howto-actors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Alternatively, you can use the Dapr SDK in [.NET]({{< ref "dotnet-actors" >}}),
2727
Actors can save state reliably using state management capability.
2828
You can interact with Dapr through HTTP/gRPC endpoints for state management.
2929

30-
To use actors, your state store must support multi-item transactions. This means your state store [component](https://github.com/dapr/components-contrib/tree/master/state) must implement the [TransactionalStore](https://github.com/dapr/components-contrib/blob/master/state/transactional_store.go) interface. The list of components that support transactions/actors can be found here: [supported state stores]({{< ref supported-state-stores.md >}}). Only a single state store component can be used as the statestore for all actors.
30+
To use actors, your state store must support multi-item transactions, etags and have strong consistency. This means your state store [component](https://github.com/dapr/components-contrib/tree/master/state) must implement the [TransactionalStore](https://github.com/dapr/components-contrib/blob/master/state/transactional_store.go) interface. The list of components that support transactions/actors can be found here: [supported state stores]({{< ref supported-state-stores.md >}}). Only a single state store component can be used as the statestore for all actors.
3131

3232
## Actor timers and reminders
3333

daprdocs/content/en/developing-applications/building-blocks/state-management/state-management-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Dapr supports two types of bulk operations - **bulk** or **multi**. You can grou
7171
Read the [API reference]({{< ref state_api.md >}}) to learn how use bulk and multi options.
7272

7373
### Actor state
74-
Transactional state stores can be used to store actor state. To specify which state store to be used for actors, specify value of property `actorStateStore` as `true` in the metadata section of the state store component. Actors state is stored with a specific scheme in transactional state stores, which allows for consistent querying. Only a single state store component can be used as the statestore for all actors. Read the [API reference]({{< ref state_api.md >}}) to learn more about state stores for actors and the [actors API reference]({{< ref actors_api.md >}})
74+
Transactional state stores can be used to store actor state. The state store must have strong consistency. To specify which state store to be used for actors, specify value of property `actorStateStore` as `true` in the metadata section of the state store component. Actors state is stored with a specific scheme in transactional state stores, which allows for consistent querying. Only a single state store component can be used as the statestore for all actors. Read the [API reference]({{< ref state_api.md >}}) to learn more about state stores for actors and the [actors API reference]({{< ref actors_api.md >}})
7575

7676
### Query state store directly
7777

daprdocs/content/en/reference/components-reference/supported-state-stores/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Table captions:
2222

2323
The following stores are supported, at various levels, by the Dapr state management building block:
2424

25-
> State stores can be used for actors if it supports both transactional operations and etag.
25+
> State stores can be used for actors if it supports, transactional operations, etag and has strong consistency.
2626
2727
### Generic
2828

0 commit comments

Comments
 (0)