Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes in experiment results statusCode is 0 but there are no results yet #435

Open
denkv opened this issue Jun 15, 2023 · 1 comment

Comments

@denkv
Copy link

denkv commented Jun 15, 2023

May be caused by updating the experiment state too early:

https://github.com/dice-group/gerbil/blob/dd1b569ca35d4ec73614d89fb1fc58e09e39c1a8/src/main/java/org/aksw/gerbil/database/ExperimentDAOImpl.java#LL197C7-L197C7

@MichaelRoeder
Copy link
Member

MichaelRoeder commented Jun 15, 2023

Repeatability

The effect might only be visible if the system is under heavy load.

Solution

Move setting the status of the experiment to the end of the method since an experiment is only done (and has a different state than -1) when all data of the experiment has been stored.

Instances affected

  • GERBIL
  • GERBIL QA
  • GERBIL KBC
  • BENG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants