Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

updated async version #353

Closed
wants to merge 10 commits into from
Closed

Conversation

krojew
Copy link

@krojew krojew commented Oct 16, 2020

No description provided.

@krojew
Copy link
Author

krojew commented Oct 16, 2020

Failing features also fail on master. The rest tests fine.

@krojew
Copy link
Author

krojew commented Oct 19, 2020

@AlexPikalov can you tell if the project is no longer maintained, looking at last commit date? I can gladly take over.

@Jasperav
Copy link
Collaborator

@krojew the maintainer is being contacted: https://www.reddit.com/r/cassandra/comments/jbr6ja/making_a_shardaware_python_driver_for_scylla_part/ (see comments), but I am not sure if that helps: there are lot of open PR's for quite a time...

@fggarcia
Copy link

fggarcia commented Nov 3, 2020

@AlexPikalov can you check this PR?

@krojew
Copy link
Author

krojew commented Nov 3, 2020

@fggarcia I have a feeling the project is abandoned.

@fggarcia
Copy link

fggarcia commented Nov 3, 2020

@krojew, you and @Jasperav created a lot of PRs. is there any possible you create a fork or a new project base on this? Maybe it's obvious that @AlexPikalov is not manteined this repo.

I start to learn rust since a few weeks, i don't have advance knowledge to do a library from zero.

I used scylla for a long time, but now i try to learn rust and this is the best library for cassandra/scylla for now.

@krojew
Copy link
Author

krojew commented Nov 3, 2020

I'm leaning towards forking and creating a separate async crate.

@Jasperav
Copy link
Collaborator

Jasperav commented Nov 3, 2020

@krojew A fork is a good idea. If this issue gets solved: AlexPikalov/cdrs-async#4, I can migrate https://github.com/Jasperav/cdrs_orm to the async version of this crate.

@krojew
Copy link
Author

krojew commented Nov 3, 2020

I'll make it happen a bit later.

@krojew
Copy link
Author

krojew commented Nov 3, 2020

Just noticed creating a new crate can be a bit problematic because of djc/bb8#82. I had to create my own bb8 fork just to make it work (which means this PR will probably be not stable).

@fggarcia
Copy link

fggarcia commented Nov 3, 2020

@krojew i have an open issue about bb8's bug. #342 . it's already open. Some people avoid this issue changing bb8 by mobc
djc/bb8#84. Other change to deadpool mozilla-services/syncstorage-rs#794

@krojew
Copy link
Author

krojew commented Nov 3, 2020

@fggarcia I'll take a look at syncstorage

@krojew
Copy link
Author

krojew commented Nov 4, 2020

@fggarcia after taking a look at deadpool, it's too much work for me to migrate from bb8. If you have time, you can make a PR with the migration to https://github.com/krojew/cdrs/tree/async-tokio and I'll take async cdrs over from there.

@krojew
Copy link
Author

krojew commented Nov 5, 2020

There is a tokio03 branch of bb8, so we might get a bit closer to releasing a stable tokio cdrs as a separate crate.

@fggarcia
Copy link

Hi @krojew ... bb8 was updated to 0.5.0 based on tokio 0.2 https://github.com/djc/bb8/releases/tag/v0.5.0

@krojew
Copy link
Author

krojew commented Nov 16, 2020

Let's wait for 0.6. Alternatively, if someone wants to migrate to deadpool, I'll be happy to merge.

@fggarcia
Copy link

@krojew thanks for response. I believe that version 0.5.0 will fix stuck connection manager. I see release tag changelog, i believe it hasn't so much change to actual code

@fggarcia
Copy link

@krojew it was so fast.... bb8 release 0.6.0 with tokio 0.3 support

@krojew
Copy link
Author

krojew commented Nov 16, 2020

Yes, I will release a new cdrs crate today or tomorrow.

@krojew
Copy link
Author

krojew commented Nov 17, 2020

@fggarcia new async cdrs published: https://crates.io/crates/cdrs-tokio

closing this pr

@krojew krojew closed this Nov 17, 2020
@fggarcia
Copy link

fggarcia commented Nov 17, 2020

@krojew thank for you work!! it's amazing. Sorry for asking, but not all framework support tokio 0.3 yet, for my example actix.

is it possible to add support for tokio 0.2?

I don't want to create an issue in cdrs-tokio for this

@krojew
Copy link
Author

krojew commented Nov 17, 2020

Sorry, but 0.3 is the minimum supported version. My recommendation is migrating to 0.3 and using the tokio-compat-02 crate for your 0.2 dependencies. It's really easy to use and remove later, when everything migrates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants