These are chat archives for atomix/atomix

27th
Dec 2017
Henry
@BITjiangrui
Dec 27 2017 05:37
@kuujo @johnou could atomix be used in a another single process? now we find onos use it in the same process, but if onos crash we also lost the data.
Johno Crawford
@johnou
Dec 27 2017 08:23
@BITjiangrui sure Atomix can be run as a single node cluster but I wouldn't recommend it, as you just said, it is a SPOF and comes with the risk of data loss
Henry
@BITjiangrui
Dec 27 2017 08:31
@johnou Sorry johno i think i do not describe the problem clearly. i mean could we use atomix as a store in a single linux process, to separate the business code and data store. other wise if the whole linux process crashed, the store also can not work.
Johno Crawford
@johnou
Dec 27 2017 09:31
@BITjiangrui I would imagine it depends on your backing storage, I assume disk? atomix uses a journal file to record entries, obviously if the JVM crashes due to an OOM or is terminated unexpectedly writing to that file may result in a corrupt journal, @kuujo probably knows off the top of his head the behaviour in said situation
publicocean0
@publicocean0
Dec 27 2017 10:29
yes but it is not clear : if i have 3 nodes to synchonize ... 1) node A receive the commit() and i save the file, node B receive the commit and save the file, node 3 receive the commit and there is a error in flushing the file , throw a exception and i have to rollback the status also in the nodes a, b b but they are already commited.
if there is not the prepare callback also in transaction it is not possible to handle distributed commits
publicocean0
@publicocean0
Dec 27 2017 10:46
ah sorry i relook a bit more ... i was wrong ... there is all the necessary :)
Garrett Everding
@GEverding
Dec 27 2017 11:56
Hi, when I setup a one node cluster for development it hang after starting up the netty messaging service. I’ve tried a bunch of different setups but they always hang. Right now I just have the Builder name the cluster and start/join.
Johno Crawford
@johnou
Dec 27 2017 11:59
@GEverding did you specify the node in the bootstrap cluster collection
Garrett Everding
@GEverding
Dec 27 2017 12:11
Yup. I can post a gist in a little.
Jordan Halterman
@kuujo
Dec 27 2017 15:27
FYI I’m off this week but gonna try to keep up
Johno Crawford
@johnou
Dec 27 2017 15:28
@kuujo enjoy your holidays then, the pull requests can wait
;)
Garrett Everding
@GEverding
Dec 27 2017 17:25
Here’s what I’m trying to do in clojure https://gist.github.com/GEverding/97a9eaa65417aaa66fe3ff58b6c9cced