ethanlew
02/06/2023, 11:54 PMjzelinskie
02/06/2023, 11:56 PMwilliamdclt
02/07/2023, 11:50 AMethanlew
02/10/2023, 4:23 PMwilliamdclt
02/10/2023, 4:29 PMfullyConsistent
always goes to master, minimizeLatency
to reader, atLeastAsFresh
tries to use reader and fallbacks to master if it gets an error about the revision not existing.
All writes going to -master.
You could get away with all reads going to -reader and accept eventual consistency, but then you'd have no way of getting full consistency if you ever need it.
It also probably wouldn't be that much work to get support for eventually-consistent replicas in SpiceDB, really!ethanlew
02/10/2023, 4:59 PMwilliamdclt
02/10/2023, 5:23 PMethanlew
02/10/2023, 5:31 PMwilliamdclt
02/13/2023, 9:54 AMethanlew
02/15/2023, 5:12 PMjzelinskie
02/15/2023, 9:15 PMwilliamdclt
02/20/2023, 10:21 AMjzelinskie
02/21/2023, 11:16 PMasanches_turo
03/02/2023, 10:06 PMwilliamdclt
03/03/2023, 10:57 AM1.14.1-nscachefix
)
We've tried upgrading again a few days ago with the fix: the perf regressions seem to be gone but we encountered another unrelated bug (couldn't write a relationship due to a uniqueness constraint error) so we had to rollback again
> Also, do I understand it correctly that your set up uses the main replica for all reads and writes?
No, it uses the master DB for writes and fully-consistent reads, and the replica for all other readsethanlew
03/03/2023, 12:54 PMwilliamdclt
03/03/2023, 2:22 PMunable to delete relationships: ERROR: duplicate key value violates unique constraint "uq_relation_tuple_living" (SQLSTATE 23505)
) , which for us is a blocker.
> are you saying thereās a bug in spicedb or was it something with your specific setup?
Pretty sure it's a bug in spicedb, rolling back to 1.13 fixed it. I suspect it's a bug that appears specifically in the migration phase of 1.13 -> 1.14, but that's a blocker for us to upgradeJoey
03/03/2023, 5:53 PMwilliamdclt
03/07/2023, 10:35 AMTOUCH
the same relationship twice (or do a DELETE then a WRITE) in a single writeRelationships
? How comes š¤Joey
03/07/2023, 4:27 PMethanlew
03/07/2023, 5:47 PMJoey
03/07/2023, 5:54 PMwilliamdclt
03/08/2023, 12:23 PMJoey
03/08/2023, 3:43 PMjmadureira
03/10/2023, 9:41 AMJoey
03/10/2023, 10:16 AMjmadureira
03/10/2023, 10:27 AMJoey
03/10/2023, 10:30 AMjzelinskie
03/10/2023, 7:44 PM