-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cockroachdb v21.2 Support #229
Cockroachdb v21.2 Support #229
Conversation
…odule, un-exclude UUID and Interval tests
The intervalstyle statement has been added and the interval tests have been reverted back to ActiveRecord with the exception of the schema dump with default value test. (cockroachdb/cockroach#71776) needs to be resolved before it will work properly. If a fix to that change won't be rolled into this release then we will probably have to add our custom interval implementation back to handle this case. |
Added the Interval implementation back because this does still need to support older versions that do not allow intervalstyle. Once all supported versions allow intervalstyle to be set then our implementation can be removed. |
@rafiss do you know if any of the fixes mentioned in the first comment will be merged into the 21.2 release? |
@rafiss do you have any update on those fixes will be included in this release or will we need to come up with workarounds for this version? |
Sorry I missed this. cockroachdb/cockroach#71440 and cockroachdb/cockroach#72041 will both be available in v21.2.1 (not in v21.2.0) |
Ok sounds good.
I can go with whatever you think is best for the third issue. |
"Disable expression indexes until 21.2.1 is released" sounds like the best option to me. Is there a way we can add a version gate to only allow the feature/test if the version is >= v21.2.1? |
…ck for NoDatabaseError, add sig fig to crdb_versions so that patches can be accounted for, enbable expression indexes in 21.2.1
Yes, I added a sig fig to the crdb version attribute so we can account for patches. |
@rafiss I added a helper to retry tests that fail because of the random foreign key error. This should help development until the root cause gets fixed. |
The latest failure is from https://github.com/cockroachdb/cockroach/issues/71652 so retrying CI again Also, unfortunately there was a change in our release schedule, so the expression indexes fix won't go out until 21.2.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! feel free to merge when you'd like
Thanks! I changed the version in |
Add support for CockroachDB v21.2.
current version: 21.2.0
Known issues:
PostgreSQLAdapterTest#test_database_exists_returns_false_when_database_does_not_exist
: (sql/catalog/resolver: return UndefinedDatabase in more cases cockroach#71440) Will be resolved once tracked issue is fixed.CheckConstraintsTest
: 2 tests are failing because removing or altering a constraint within a transaction does not work anymore. Should have an issue soon to track (sql: support disabling constraints in-place cockroach#19444).IndexDefinition
objects. (sql: unexpected pg_index.indkey value on expression indexes cockroach#72041)TODOs (so far):