datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
timo 2020-09-03T06:58:45.005700Z

@neo2551 thanks for reporting this. Was the error occurring with version 0.3.1?

timo 2020-09-03T07:01:49.006300Z

Did you use a URI or some other kind of configuration?

2020-09-03T07:03:51.007100Z

Nope. The error disappeared with 0.3.1-SNAPSHOT.

2020-09-03T07:04:28.008200Z

I simply use the config without URI [documentation is misleading as they ask for path, but actually dbname is required in the store].

2020-09-03T07:04:49.008900Z

I wondered if you could support multiple datahike store in a single database?

timo 2020-09-03T07:09:18.011Z

Sorry for asking again: which version had the error? 0.3.1? The latest SNAPSHOT is 0.3.2-SNAPSHOT. We changed the configuration quite a lot in the last few releases, that's why I am asking. But you are actually right, the documentation is wrong, I just checked it.

timo 2020-09-03T07:13:53.013500Z

It is actually possible to use multiple backend stores. It is just not already supported, because the configuration has only the ability to hold one backend store. For datahike-server @konrad.kuehne did already implement it. There you can just start multiple backends with this config: https://github.com/replikativ/datahike-server/blob/admin-endpoints/resources/config.edn.sample

timo 2020-09-03T07:15:34.014500Z

So it should be easily doable within an app that you are writing but we did not yet implement it into datahike itself afaik.

2020-09-03T07:16:06.015Z

I resolved the problem by updating the datahike-pg library

2020-09-03T07:16:15.015300Z

the official version is still using 0.1 on the doucmentation

2020-09-03T07:17:15.015800Z

This is still version 0.1.0

timo 2020-09-03T07:19:42.016600Z

Thanks for pointing this out @neo2551. Please feel free to post any issues coming up. :thumbsup:

timo 2020-09-03T07:24:03.017300Z

@neo2551 If you are adventurous I am happy to help you using datahike-jdbc and know what you are thinking. 🙂

2020-09-03T07:24:39.017900Z

haha, let me first see if I can impose datahike with postgreSQL in my team 🙂

2👍