Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RethinkDB State Store error - Dapr v1.8 #1932

Closed
gidduk opened this issue Aug 3, 2022 · 2 comments · Fixed by #1930
Closed

RethinkDB State Store error - Dapr v1.8 #1932

gidduk opened this issue Aug 3, 2022 · 2 comments · Fixed by #1930
Labels
kind/bug Something isn't working

Comments

@gidduk
Copy link

gidduk commented Aug 3, 2022

In what area(s)?

/area runtime

What version of Dapr?

1.8

Expected Behavior

I am trying to use RethinkDb as my stateStore.
statestore.yaml in default users profile folder.

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: springBootState
spec:
type: state.rethinkdb
version: v1
metadata:

  • name: address
    value: localhost:28015
  • name: database
    value: test
  • name: actorStateStore
    value: "true"

Actual Behavior

Error is thrown.
panic: interface conversion: *rethinkdb.RethinkDB is not state.TransactionalStore: missing method Multi

Running Spring Boot application on Windows 10 Enterprise with RethinkDb running in Docker container.
I tried to use Redis and it works fine.

Steps to Reproduce the Problem

Use RethinkDb as your state store with the above configuration.

Release Note

RELEASE NOTE: FIX Bug in runtime.

RELEASE NOTE:

@gidduk gidduk added the kind/bug Something isn't working label Aug 3, 2022
@ItalyPaleAle
Copy link
Contributor

Fix: #1930

@yaron2 yaron2 transferred this issue from dapr/dapr Aug 3, 2022
@berndverst
Copy link
Member

berndverst commented Aug 26, 2022

Please note that RethinkDB does not support Etags or Transactions (for multiple items) and as such cannot be used as actor state store. I have just completed the work to make this component Beta, but have determined that Etags are not truly supported. Please do not use this component as actor state store. We will be updating the docs to make this clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants