Comments (8)
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.
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.
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.
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.
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.
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.
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.
Got it - everything is resolved and 0.2.1 is in central.
Thanks!
from ckite.
Related Issues (15)
- Getting started in Scala
- Getting started in Java HOT 3
- Metrics
- Optimize snapshotting
- Leader election
- Log replication
- Log compaction
- Cluster membership changes
- [error] (run-main) com.typesafe.config.ConfigException$Null: hardcoded value: Configuration key 'ckite.cluster.localBinding' is set to null but expected STRING HOT 1
- what dos j mean here? HOT 1
- ckite Builder always uses ckite.finagle.listen-address in .conf file HOT 2
- CKiteClient readLocal is private
- Unable to import the project HOT 2
- cross publish with 2.12 HOT 3
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 ckite.