Comments (12)
Great! So I will see that I get a release out in the next couple of days.
from cassandra-migration.
Hi,
Yes there is. I am currently just thinking how to make the transition smooth for library users as the drivers API is unfortunately not backward compatible.
Cheers
Patrick
from cassandra-migration.
Hi @patka, what's the status of this issue? Do you need any help? We'd like to upgrade the driver and are blocked by the library, so will be more than happy to give you a hand!
If it's of any help, as a library user I'd be fine if you just generate a new major version for your library?
from cassandra-migration.
Hi Albert,
hm, actually I replied to you yesterday but obviously the mail did not make it to Github. Anyway, on my commute home yesterday I was able to integrate the new version into the library. What is left are the integration tests and some testing. The integration tests are a little bit more tricky as cassandra-unit does also not yet support the driver in version 4 but Maven of course resolves to the latest version of the library. So, I have to find a way to test this. Worst case scenario is that for the time being the tests only work when there is a Cassandra node running on localhost or something like this. I never wanted this scenario and I hope that there will be a better solution, either now or soon.
As for the timeline. My plan is to get this done on the weekend. I will most likely then create a branch v2_4 from which I can create a release v2.2.1_v4. Like this there is the possibility to create a new release of the library with version 3 of the driver, in case of a bug, until Datastax finally deprecates the version 3.
So, unless there is something unforeseen you should get something by next week what you can use to test the migration.
Cheers
Patrick
from cassandra-migration.
Hi,
there is a new branch master_v4 that contains an updated version with the changes to use the driver v4. As the documentation is not yet updated here are some things to consider:
- It would be best to provide a dedicated CqlSession to the database class as it make use of the "USE keyspace" command in order to be backward compatible with the migration scripts unless we are already on the configured keyspace.
- It would therefore not yet use the spring boot starter. I have to investigate first if it is possible to use named beans in order to have a dedicated one here.
- The tests currently only work if there is a node running on localhost as cassandra-unit is not yet available for driver version 4.
It would be great if you could give it a try and let me know if you have some issues. Otherwise I would create a release soon.
Cheers
Patrick
from cassandra-migration.
Hi @patka, I've been playing a bit with it and it looks like this branch working for me, thanks a lot!
from cassandra-migration.
I just pushed the changes required for the Spring Boot Starter. If my kids don't cross my plans I will release version 2.2.1_v4 this evening.
from cassandra-migration.
That's excellent news, thanks a lot @patka!
from cassandra-migration.
I just released the library. Normally it takes a couple of hours until it is available in the Maven repos. Let me know if there are any issues.
Glad I could help :)
from cassandra-migration.
Any plans on a _v4 version of 2.3?
from cassandra-migration.
Hi,
yes, as a matter of fact I have :)
But as most other people I am currently working from home with two kids to take care of. I have it on my agenda and want to do it but I can currently not provide any estimate.
from cassandra-migration.
I released v2.3.0_v4. Give it some time to propagate through the maven repos.
from cassandra-migration.
Related Issues (20)
- Cassandra RetryPolicy can't be used HOT 8
- Support for Amazon Keyspaces (AWS MCS) HOT 2
- Default Migration Path is not Found HOT 3
- Failing tests on Windows HOT 1
- Spring boot 2.3.* support HOT 11
- configure timeout HOT 5
- 2.5.0_v4 not available from maven HOT 3
- How can i use this tool on a existing cassandra db? HOT 1
- Spring Actuator support HOT 1
- new release? HOT 2
- Caused by: java.nio.file.NoSuchFileException: cassandra/migration HOT 2
- MIT licensed Antlr4 parser HOT 4
- Does it work with spring boot 3 and java 17? HOT 5
- CassandraMigrationAutoConfiguration.MIGRATION_TASK_BEAN_NAME not published HOT 2
- Getting the following warning when migrating: "This is an anti-pattern that should be avoided in production" HOT 1
- CREATE TABLE IF NOT EXISTS not working HOT 2
- Synchronization with spring boot HOT 2
- dateOf() is removed from Cassandra 5.0 HOT 7
- Add migration listener
- External Scripts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassandra-migration.