openml / openml/OpenML

Decoupling API and ES index

Open
#941 0 comments 0 reactions 1 assignee View on GitHub

@joaquinvanschoren is already working on this.

Since Mar 11, 2019.

CoreSystem priority: highest
Dominant language
PHP
Stars
755
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I keep getting ES errors on the test server. Is there any reasonable expectation when we can decouple ES and the API? I find it a bit frustrating that I do an extreme effort to keep the API in a healthy condition (code wise / maintainability, etc) and that it relies on a crucial component that fails regularly.

===== REQUEST URI (POST): https://test.openml.org/api_new/v1/run/ (Status Code: 200, Content Length: -1) =====
{"error":{"root_cause":[{"type":"document_missing_exception","reason":"[task][1696]: document missing","index_uuid":"0ZAR2_TvSsmuD0CxsZUhFA","shard":"0","index":"task"}],"type":"document_missing_exception","reason":"[task][1696]: document missing","index_uuid":"0ZAR2_TvSsmuD0CxsZUhFA","shard":"0","index":"task"},"status":404}<oml:upload_run xmlns:oml="http://openml.org/openml">
	<oml:run_id>16584</oml:run_id>
	</oml:upload_run>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.