Informatievlaanderen / VSDS-LDESServer4J

Linked Data Event Streams Server for Java
https://informatievlaanderen.github.io/VSDS-LDESServer4J
European Union Public License 1.2
8 stars 8 forks source link

ldes server crashed with Client view of cluster state is {type=UNKNOWN, #1308

Open xdxxxdx opened 3 weeks ago

xdxxxdx commented 3 weeks ago

Prerequisites:

Scenario:



**Current result:**
ldes server crashed:
![image](https://github.com/Informatievlaanderen/VSDS-LDESServer4J/assets/15314807/c48c3a83-f96c-4456-8c0c-6ccb7c0110c0)

Full docker log:
[2024-06-10 093935    ____  _       .txt](https://github.com/user-attachments/files/15758339/2024-06-10.093935.____._.txt)
Yalz commented 3 weeks ago

Hi @xdxxxdx , Are you sure your mongodb was up and your connectionstring was correct?

xdxxxdx commented 3 weeks ago

Hello @Yalz , this one I used build in docker compose file from this repo. In the latest commit, the docker compose file is using postgres instead mongodb. https://github.com/Informatievlaanderen/VSDS-LDESServer4J/blob/d6c0aead65c67aea9c03767e362e4e6dfd8d1fd2/docker-compose.yml#L21 I just quickly ran it again image I see why, the latest tag in https://hub.docker.com/r/ldes/ldes-server/tags is still the version from 2 months ago.

xdxxxdx commented 2 weeks ago

Another crash Caused by: org.hibernate.exception.SQLGrammarException: JDBC exception executing SQL [select e1_0.id,e1_0.timestamp_path,e1_0.version_creation_enabled,e1_0.version_of_path from eventstream e1_0] [ERROR: relation "eventstream" does not exist image with the latest version from 2 days ago. With Sprint 55 release, ldes/ldes-server: 3.1.0-SNAPSHOT , everything works fine