Giter VIP home page Giter VIP logo

Comments (8)

pablosmedina avatar pablosmedina commented on May 27, 2024

Hi John,

I'm glad everything is ok with ckite so far. Sadly, it seems I lost a commit on the latest release. Nevermind, I've just pushed a snapshot version to Sonatype with a fix. The version is 0.2.1-SNAPSHOT. You can find it on Sonatype repo, not yet in Maven central.
Please play a bit with that version and if everything is ok I'll push it to Maven central.

Thanks!

from ckite.

jmarchesini avatar jmarchesini commented on May 27, 2024

Hi Pablo -

Thanks for the quick turnaround! I've pulled down 0.2.1-SNAPSHOT for core, mapdb, and finagle and I've started testing.

I'll keep you posted.

Thanks again,
John

from ckite.

jmarchesini avatar jmarchesini commented on May 27, 2024

Hi Pablo -

So far, things are looking great. One quick clarification:

When I'm using MapDB for persistence, it seems like I only bootstrap once - when the log is empty. If I attempt to bootstrap after that, I get "Log is not empty." (Stack trace below.)

This is actually very nice for us operationally, I just want to be sure I'm using the feature as intended.

Thanks!

John

java.lang.IllegalStateException: Log is not empty
at ckite.RLog.assertEmptyLog(RLog.scala:148)
at ckite.RLog.bootstrap(RLog.scala:48)
at ckite.Raft.bootstrapStart(Raft.scala:45)
at ckite.Raft.start(Raft.scala:21)
at ckite.CKiteClient.start(CKiteClient.scala:35)

from ckite.

pablosmedina avatar pablosmedina commented on May 27, 2024

Hi John,

You only have to bootstrap CKite the very first time. That check prevents you from accidentally diverging the log by having a second leader. If you have to bootstrap the cluster again then you have to delete the log and start again (please note that for now this assumes you have a persistent state machine). Hope that is clear to you.
I'll push the fix release to Maven central in a few hours.

Cheers!

from ckite.

jmarchesini avatar jmarchesini commented on May 27, 2024

Hi Pablo -

Did you ever send 0.2.1 to Maven central? I'm only seeing 0.2.0:

http://search.maven.org/#search%7Cga%7C1%7Cckite

I'm still pulling 0.2.1 from sonatypeRepo("snapshots") - so no huge rush. I'll close this when they're on central.

Thanks again,
John

from ckite.

pablosmedina avatar pablosmedina commented on May 27, 2024

Hi John,

I'll push a new version tomorrow including a fix to the other issue you have opened regarding the listen address configuration.

Thanks,
Pablo

from ckite.

pablosmedina avatar pablosmedina commented on May 27, 2024

Hi John,

I've just pushed the release version 0.2.1 to Sonatype and it will be available at Maven Central in a few hours. Please take a look at it and let me know if you have any issues.

Pablo

from ckite.

jmarchesini avatar jmarchesini commented on May 27, 2024

Got it - everything is resolved and 0.2.1 is in central.

Thanks!

from ckite.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.