https://authzed.com logo
Title
j

Jeff Hall

04/14/2023, 7:25 PM
Hi all. We've got a test suite that generates relationships to test out our schema rules. When the test ends we want all relationships in SpiceDB deleted. We're using the Node SDK and call RelationshipClient.delete() for each object type (this is done inside a Promise.all() statement). We are intermittently receiving this error message: UNKNOWN: serialization max retries exceeded. Any ideas here? I am observing that moving the individual delete statements out of the Promise.all() block and deleting the relationships sequentially appears to work.