atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

Flaky e2e test - slow invite accepting on atomicdata.dev

Open joepio opened this issue 3 years ago • 3 comments

See this and this

The tests seem to work fine locally, and only fail sometimes.

Update: seems to be sign up and edit document atomicdata.dev is very slow.

Not sure why this is. I think maybe it's a new Query that has to be performed.

joepio avatar Jun 15 '22 16:06 joepio

I think I found the issue - invite.rs did a store.get(public_key) instead of store.get(subject)

joepio avatar Jun 20 '22 11:06 joepio

I've just pushed a new version to production that should fix this.

joepio avatar Jun 20 '22 11:06 joepio

It's faster, but it's not fast fast. Probably because the write collection is simply huge and updating the indexes takes long on this slow hardware! I now tried using push_propval, which should minimize the indexing needed.

joepio avatar Jun 20 '22 11:06 joepio