This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-12
Channels
- # adventofcode (78)
- # announcements (5)
- # babashka (22)
- # beginners (230)
- # calva (18)
- # cider (26)
- # clj-kondo (1)
- # cljs-dev (1)
- # clojure (14)
- # clojure-austin (1)
- # clojure-dev (3)
- # clojure-europe (30)
- # clojure-switzerland (1)
- # clojure-uk (26)
- # clojurescript (33)
- # conjure (2)
- # cursive (2)
- # data-science (1)
- # datomic (9)
- # docker (1)
- # emacs (8)
- # events (4)
- # fulcro (64)
- # lambdaisland (3)
- # luminus (1)
- # off-topic (3)
- # pathom (6)
- # portal (1)
- # programming-beginners (5)
- # shadow-cljs (22)
- # tools-deps (8)
- # xtdb (4)
I think this is a short version of the query timeout bug I'm hitting, my guess this is an eql/project
issue
(crux/submit-tx
node
[[:crux.tx/put
{:crux.db/id :a
:a/ref :b}]
[:crux.tx/put
{:crux.db/id :b}]])
(crux/q (crux/db node)
'{:find [(eql/project ?a [* {:a/ref
[*
{:b/not-yet-added-attr [*]}]}])] ;;comment this attribute out for no timeout, works with in-mem db, not with kafka/rocksdb.
:where
[[?a :a/ref ?b]]
:args [{?a :a}]})
Thanks again for trying to pin it down 🙂 it's definitely something to do with your doc-store configuration. I think what you're observing is that any queries which require hitting the doc-store via a local cache (i.e. anything using eql/project
or large values that aren't fully covered by the index) are blocking indefinitely due to some kind of connectivity issue.