This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-05
Channels
- # admin-announcements (4)
- # beginners (47)
- # boot (69)
- # cider (11)
- # cljsjs (1)
- # cljsrn (5)
- # clojure (163)
- # clojure-austin (17)
- # clojure-russia (27)
- # clojure-uk (46)
- # clojurescript (109)
- # core-async (28)
- # cursive (2)
- # data-science (1)
- # datavis (1)
- # datomic (9)
- # dirac (33)
- # funcool (8)
- # hoplon (1)
- # lein-figwheel (1)
- # leiningen (1)
- # luminus (23)
- # mount (3)
- # nyc (2)
- # off-topic (25)
- # om (3)
- # onyx (4)
- # perun (7)
- # re-frame (10)
- # reagent (2)
- # ring-swagger (4)
- # spacemacs (4)
- # uncomplicate (1)
- # untangled (21)
- # vim (2)
- # yada (2)
Is there a way to force a transactor to take over? I have a transactor plugged to a MySQL storage but it stays in standby although I'm pretty sure no other transactor is connected (there was one before but I had to kill it - maybe it left the storage in a bad state somehow?)
@noziar transactor will automatically take over unless there's a live heartbeat from another transactor.
@noziar You can run datomic.peer/transactor-endpoint (side note: diagnostics tool, not stable api, so don’t use outside of this intended purpose) to sanity check what the current transactor endpoint is.
Amazing! datomic.peer/transactor-endpoint was exactly what I needed to figure out where the transactor was. Thanks a lot!
is there a way to specify that pull should follow all non-component refs?
pulled this line off of the Non-component Defaults part of the pull documentation: > If the reference is to a non-component attribute, the default is to pull only the :db/id.
suggests there may be a way to override the default without changing schema?
the implied way to override the defaults is to use a map-spec instead of a bare attr-name. I don't think you can follow all non-component refs -- unless you build a pull expr using the schema, maybe?
yeah I haven’t been able to find a way other than being explicit about each ref that I want to follow