Fork me on GitHub
#datomic
<
2016-01-08
>
gworley300:01:06

are there any known problems with running multiple transactors and cassandra? i'm seeing my two transactors flip-flop even when i set heartbeat-interval-msec relatively high (at the moment it's at 15000)

gworley300:01:19

i'm also not sure how much of a problem this is, but it seems to be causing connection problems for the peers in our app anyway

Ben Kamphaus00:01:42

@gworley3: on latest version? It wouldn’t be caused by heartbeat latency, but there was a bug fixed in 0.9.5327 that could cause transactor terminations. From changes.md: * Bugfix: Fixed bug that could cause a transactor to terminate when deleting a database against Cassandra storage.

Ben Kamphaus00:01:23

There’s nothing otherwise intrinsic to a Cassandra configuration that would result in that high frequency of failovers. First sanity questions for seeing failovers like that is : * Are processes (storage, transactor, peers) isolated, is network free of partition events * is Cassandra system seeing other use, up to and including compact events, etc. that can cause storage unavailability, Do you see, e.g., the cause of transactor failover listed in logs? I.e., :cause :conflict with AlarmHeartbeatFailed?

gworley300:01:51

@bkamphaus: 0.9.5344. this is on a cluster just for datomic and it has no traffic to it other than the transactors right now. i'm not seeing obvious signs of network partitions. i am seeing :event :transactor/heartbeat-failed, :cause :conflict in the logs

gworley300:01:33

i don't see AlarmHeartbeatFailed anywhere, though

tcrayford01:01:15

@gworley3: @bkamphaus check JVM GC logs for long pause times as well, both on Cassie and transactor (Cassie only matters if all the nodes sync a long GC together, but never say never)

Ben Kamphaus02:01:50

@gworley3: another sanity check, if they’re flip flopping immediately, does either one ever successfully become a standby (i.e. issue HeartMonitorMsec metric) and related question, is this with a paid or eval license? (no HA is one of the pro starter limitations along with non memcached and 3 process cap).

gworley302:01:35

@bkamphaus: ohhhhhh, that's the answer. this is with a pro starter license right now since we're still in development and not ready to deploy yet. if that's the case i'll check into getting the full thing since we're already past the committed point

gworley302:01:53

i didn't realize it didn't work with ha. Thanks!

timgilbert16:01:49

Hey, newbie question: is it possible to execute transactions in the datomic console? Would like to set up some test data while I try to comprehend datalog

timgilbert16:01:24

...or do people generally use the REPL for this sort of thing?

marshall16:01:34

@timgilbert: The Console doesn’t support transactions.

timgilbert16:01:01

Ok, got it, thanks

Lambda/Sierra17:01:00

The ReST API can do transactions, and it includes basic HTML forms when visited from a browser.

isaac17:01:08

can I treat backward-reference as an attribute?

isaac17:01:23

:community/_neighborhood

bostonaholic19:01:32

@isaac: if you're asking what I think you're asking, yes

Ben Kamphaus19:01:02

@isaac: it depends on where you’re using it. Works in pull/entity, not in query/datalog (but just reorder the from e.g. [?n :community/_neighorhood ?c] to [?c :community/neighborhood ?n]