user
01/13/2022, 4:47 PMvroldanbet
01/13/2022, 4:49 PMJonathan Whitaker
01/13/2022, 4:54 PMJonathan Whitaker
01/13/2022, 4:55 PMuser
01/13/2022, 5:03 PMJonathan Whitaker
01/13/2022, 5:15 PMuser
01/13/2022, 5:16 PMecordell
01/13/2022, 5:45 PMAbhishek Dwivedi
01/14/2022, 10:32 AMWARNING: RPC failed: UNAVAILABLE: Connection closed after GOAWAY. HTTP/2 error code: NO_ERROR
, subsequent runs did get me back result as INFO: Response: resolved_object_ids: "1"
revision {
token: "CAIaCAoGMjAxNTU4"
}
, In reference to the code , the setlimit()` is about the depth 2 which lookup gets performed ? guess might want to try with v1 and see if that is different
@User what is the expected output. Should it be set of documents to which the user has write permission?shiqinwen
01/15/2022, 1:44 AMAbhishek Dwivedi
01/16/2022, 6:46 AMshiqinwen
01/17/2022, 6:30 AMAbhishek Dwivedi
01/17/2022, 8:50 AMshiqinwen
01/17/2022, 4:42 PMuser
01/19/2022, 4:05 PMSleipnir
01/19/2022, 9:25 PMSleipnir
01/19/2022, 9:26 PMrelation_tuple
to stay in sync with row updates. This turned out to be a complex nightmare of PL/SQL code that wasn't solvable in a practical timeframe.Sleipnir
01/19/2022, 9:28 PMrelation_tuple
, and update relation_tuple
to be in sync each time a query ran. This worked but it was slow; I didn't know how slow, however, until we tried to run it on real data this week. The naive trigger timed out; our DB guy was able to tune it to 5 seconds per update, but 5 seconds is still way too slow.Sleipnir
01/19/2022, 9:30 PMSleipnir
01/19/2022, 9:31 PMSleipnir
01/19/2022, 9:45 PMJake
01/19/2022, 10:57 PMSleipnir
01/20/2022, 12:00 AMJake
01/20/2022, 12:09 AMvroldanbet
01/20/2022, 1:01 PMdockertest
(just like your integration tests) to pull the spicedb image and run serve-testing
. I focused in serve-testing
. as a means to get quick feedback while developing the schema tests in Go.
One of the things of the plumbing that has to be considered is waiting for the container to be ready. I initially created a health-check with dockertest
. doing SchemaRead
. RPC. Then I learned about grpc Health checks, so I introduced that.
Unfortunately, I learned that serve-testing
. does not wire up the grpc Health Check. Would that be a sensible contribution?vroldanbet
01/20/2022, 1:20 PMvroldanbet
01/20/2022, 1:52 PMJake
01/20/2022, 1:54 PMvroldanbet
01/20/2022, 1:58 PMCheck
, spicedb errors out indicating the type I specified is unknown. @User pointed out:
schemas don't have revisions (in the API, they do internally)
so you can't write a schema and then get data "at" that schema
Jake
01/20/2022, 1:58 PM