Jake
10/04/2022, 9:22 PMJake
10/04/2022, 9:23 PMMatt.G
10/04/2022, 9:29 PMJake
10/04/2022, 9:32 PMMatt.G
10/04/2022, 9:56 PMJake
10/04/2022, 10:18 PMMatt.G
10/04/2022, 10:58 PMSingha1
10/05/2022, 6:36 PMJake
10/05/2022, 6:37 PMSingha1
10/05/2022, 6:38 PMJoey
10/05/2022, 11:55 PMzed
as well potentiallyPrchowdh
10/06/2022, 6:59 AMIgor.Shmukler
10/06/2022, 9:09 AMzed
, at some point, i start getting failures. the commands are something like:
zed relationship create event:1 organization organization:1
zed relationship create event:2 organization organization:1
...
zed relationship create event:27 organization organization:1
it creates maybe 15 or 20 relationships, and stops - everything after that fails. if i re-run the failed commands one-at-a-time, relationships are created. this is with v1.12.0 server.vroldanbet
10/06/2022, 12:06 PMzed
, that should help.
A complete overhaul of PSQL datastore is now in main
though not yet released. We are confident that write throughput is greatly improved with the new design.vroldanbet
10/06/2022, 12:08 PMIgor.Shmukler
10/06/2022, 12:27 PM{
"level": "error",
"module": "pgx",
"args": [],
"err": "timeout: context canceled",
"pid": 9556,
"sql": "rollback",
"time": "2022-10-06T01:04:00Z",
"message": "Exec"
}
Igor.Shmukler
10/06/2022, 12:29 PM{
"level": "error",
"module": "pgx",
"args": [],
"err": "timeout: context already done: context canceled",
"pid": 17230,
"sql": "rollback",
"time": "2022-10-06T01:04:28Z",
"message": "Exec"
}
and
{
"level": "error",
"requestID": "2d4033346ccea3928525804283ec7f8e",
"error": "timeout: context already done: context canceled",
"time": "2022-10-06T01:04:28Z",
"message": "error running transaction cleanup function"
}
Igor.Shmukler
10/06/2022, 12:31 PMcomplete overhaul of PSQL datastore
planned for v1.14.0 or what release? what sort of a timeframe do you estimate for it to make a release?Jake
10/06/2022, 12:35 PMwilliamdclt
10/06/2022, 3:15 PMrelation_tuple
table for >1h30 (it's still running as I'm writing this) 😬Jake
10/06/2022, 3:16 PMwilliamdclt
10/06/2022, 3:20 PMbackfillTupleXIDColumns
took 98min on a database with no traffic and 10M rows. backfillTransactionXids
took 11s which is already pretty blocking!williamdclt
10/06/2022, 3:20 PMJake
10/06/2022, 3:20 PMrelation_tuple_transaction
rows do you have?Joey
10/06/2022, 4:18 PMmgagliardo
10/06/2022, 7:31 PMtransport: Error while dialing dial tcp 10.30.59.76:50053: connect: connection refused
- I have both 50051/50053 port-forwarded locally. Any help would be appreciated!Joey
10/06/2022, 7:57 PMJaroslav Holaň
10/07/2022, 3:00 PMkubectl exec svc/spicedb -ti -- grpc_health_probe -v -addr=localhost:50051
It returns
> addr=localhost:50051 conn_timeout=1s rpc_timeout=1s
> tls=false
> spiffe=false
establishing connection
connection established (took 2.104947ms)
time elapsed: connect=2.104947ms rpc=2.228704ms
status: SERVING
But when we switch to version v1.10.0 and higher, the probe tells us that it does not serve, but it is not true. The spicedb works fine.
> addr=localhost:50051 conn_timeout=1s rpc_timeout=1s
> tls=false
> alts=false
> spiffe=false
establishing connection
connection established (took 1.46186ms)
service unhealthy (responded with "NOT_SERVING")
command terminated with exit code 4
Do we need to make special configuration adjustments when upgrading to version 10 or higher?Joey
10/07/2022, 3:00 PMJaroslav Holaň
10/07/2022, 3:08 PMdatastore health context was canceled