Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

[couchbase] greetings repository always returns empty list #63

Open
ignasi35 opened this issue Jan 4, 2019 · 3 comments
Open

[couchbase] greetings repository always returns empty list #63

ignasi35 opened this issue Jan 4, 2019 · 3 comments

Comments

@ignasi35
Copy link
Contributor

ignasi35 commented Jan 4, 2019

In both couchbase recipes the /api/user-greetings endpoint always returns [].

/cc @johanandren

@ignasi35
Copy link
Contributor Author

ignasi35 commented Jan 4, 2019

Just noticed the warning:

23:33:26.910 [warn] couchbase-journal.read(akka://hello-impl-application) [sourceThread=hello-impl-application-lagom.persistence.dispatcher-30, akkaTimestamp=22:33:26.910UTC, akkaSource=couchbase-journal.read(akka://hello-impl-application), sourceActorSystem=hello-impl-application] - Missing the [tags-ordering] index, the events by tag query will not work without it, se plugin documentation for details

@ignasi35
Copy link
Contributor Author

ignasi35 commented Jan 4, 2019

To test the Couchbase recipes locally I followed the instructions on README.md.

I cloned https://github.com/akka/akka-persistence-couchbase and used

$ docker-compose -f docker/couchbase-1-node/docker-compose.yml up --build

as specified in the docs.

The issue is that code runs using the 1.0-RC1 version while I've started Couchbase using a HEAD version of docker/couchbase-1-node/docker-compose.yml which changed since 1.0-RC1 where tags-ordering is no longer present.

Recipes should Just Work ™️.

@johanandren
Copy link
Contributor

Yeah, cloning master is not a good idea, no guarantee that will match what it is built on.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants