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

krtkvrm

10/11/2021, 12:29 PM
We are observing that spicedb is taking time to update the relations. Code - https://github.com/rsbh/authz-spicedb/blob/kv We are seeing that if we are not adding the time.sleep after adding & deleting relations, we are getting inconsistent output ### logs: without sleep
Copy code
written_at:{token:"GgMKATI="}
written_at:{token:"GgMKATM="}
written_at:{token:"GgMKATQ="}
written_at:{token:"GgMKATU="}
written_at:{token:"GgMKATY="}

PERMISSIONSHIP_HAS_PERMISSION
PERMISSIONSHIP_HAS_PERMISSION
PERMISSIONSHIP_NO_PERMISSION

deleted_at:{token:"GgMKATc="}

PERMISSIONSHIP_HAS_PERMISSION
PERMISSIONSHIP_HAS_PERMISSION
PERMISSIONSHIP_NO_PERMISSION
with sleep
Copy code
written_at:{token:"GgMKATI="}
written_at:{token:"GgMKATM="}
written_at:{token:"GgMKATQ="}
written_at:{token:"GgMKATU="}
written_at:{token:"GgMKATY="}

PERMISSIONSHIP_HAS_PERMISSION
PERMISSIONSHIP_HAS_PERMISSION
PERMISSIONSHIP_HAS_PERMISSION

deleted_at:{token:"GgMKATc="}

PERMISSIONSHIP_NO_PERMISSION
PERMISSIONSHIP_NO_PERMISSION
PERMISSIONSHIP_NO_PERMISSION
2 Views