Hello, I've not sure how to report the problem in versions, cause this repo doesn't have tags as primary repo.
After update to 2.10.0, I had a problem with syncs, starting sync job returned
FAILED: [sidecar]: panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x80 pc=0xbabc10]
goroutine 1 [running]:
github.com/jackc/pgx/v5/pgxpool.(*Pool).Acquire(0x0, {0x4ac1090?, 0x6f80dc0?})
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.2/pgxpool/pool.go:513 +0x50
github.com/jackc/pgx/v5/pgxpool.(*Pool).Exec(0x46337a0?, {0x4ac1090, 0x6f80dc0}, {0x46d28ac, 0x72}, {0xc0001be310, 0x7, 0x7})
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.2/pgxpool/pool.go:605 +0x6c
github.com/jitsucom/bulker/sync-sidecar/db.InsertTaskLog(0x0, {0xc0006f6000, 0x24}, {0x4654062, 0x4}, {0x4654e6e, 0x5}, {0xc0005d00d0, 0xc2}, {0xc00005e008, ...}, ...)
/app/sync-sidecar/db/db.go:125 +0x265
main.(*AbstractSideCar).sendLog(0xc0001ff7a0, {0x4654e6e, 0x5}, {0x4654062, 0x4}, {0xc0005d00d0, 0xc2})
/app/sync-sidecar/main.go:230 +0x22e
main.(*AbstractSideCar)._log(0xc0001ff7a0, {0x4654e6e, 0x5}, {0x4654062, 0x4}, {0xc0005d00d0, 0xc2})
/app/sync-sidecar/main.go:219 +0x227
main.(*AbstractSideCar).log(0xc0001ff7a0, {0x46ca3fb?, 0x0?}, {0xc000779cc0?, 0xb01560?, 0x306d4df00?})
/app/sync-sidecar/main.go:153 +0x59
main.(*ReadSideCar).Run(0xc00040de40)
/app/sync-sidecar/read.go:55 +0x1b1
main.main()
/app/sync-sidecar/main.go:148 +0x98f
From the error and checking source code, I think that sync-sidecar doesn't have connection to PostgreSQL database. I've checked the variable
SYNCCTL_DATABASE_URL
and tested the connection from variable data, it worked. So, I've added
SYNCCTL_SIDECAR_DATABASE_URL
According to the documentation - if it is empty - use SYNCCTL_DATABASE_URL. But I've added it anyway to be sure.
Didn't help.
So, I've downgraded sync-sidecar to 2.9.0 version and it works now.
What did I miss in the upgrade to 2.10.0? Also I'm not sure what commits should I check diff in this repo cause there are no indications when version was released.
Hello, I've not sure how to report the problem in versions, cause this repo doesn't have tags as primary repo.
After update to 2.10.0, I had a problem with syncs, starting sync job returned
From the error and checking source code, I think that sync-sidecar doesn't have connection to PostgreSQL database. I've checked the variable
SYNCCTL_DATABASE_URLand tested the connection from variable data, it worked. So, I've added
SYNCCTL_SIDECAR_DATABASE_URLAccording to the documentation - if it is empty - use SYNCCTL_DATABASE_URL. But I've added it anyway to be sure.
Didn't help.
So, I've downgraded sync-sidecar to 2.9.0 version and it works now.
What did I miss in the upgrade to 2.10.0? Also I'm not sure what commits should I check diff in this repo cause there are no indications when version was released.
Thank you!