Open afritzler opened 3 years ago
Sounds like a new defect with cockroachdb?
Did somebody manage to run kine stable on cockroachDB? If so what version were you using?
If you search for cockroachdb issues here and on the k3s repo, you should find a few discussions about it. We don't technically support it but a few folks have got it to work.
Ok it looks like this is the root cause of the compaction not working. https://github.com/cockroachdb/cockroach/issues/40963
So for me using the compaction query from the sqlite driver did the trick: https://github.com/afritzler/kine/commit/f3130cc9b3cf15a8dc69efc5b877177665012d96
That's interesting, because on some releases of postgres the sqlite query won't execute at all...
I am running a
kube-apiserver
viakine
on top of a CockroachDB. In the kine logs I see a lot of those errors:I am running the latest master build of kine and CockroachDB version V21.1.1.
sql.defaults.serial_normalization
in my CockroachDB cluster is set tosql_sequence
.