https://authzed.com logo
#spicedb
Title
# spicedb
w

williamdclt

03/22/2022, 4:47 PM
Another, more important, issue I'm encountering: when writing to SpiceDB I'm receiving these errors:
Copy code
unable to write tuples: ERROR: duplicate key value violates unique constraint \"uq_relation_tuple_living\" (SQLSTATE 23505)
It happens from time to time when I'm writing relationships 1-by-1, and it happens systematically when I'm writing relationships in batches of ~4000. It happens when I have only 1 instance of SpiceDB and only 1 process calling SpiceDB, without parallelism, so it doesn't seem like it could be a race condition