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

Fetching a thing at a non-existing historical revision (e.g. in future) results in status 503 #1844

Closed
thjaeckle opened this issue Dec 18, 2023 · 0 comments · Fixed by #1845
Assignees
Labels
Milestone

Comments

@thjaeckle
Copy link
Member

Example request:

curl 'https://ditto.eclipseprojects.io/api/2/things/foo:bar?fields=thingId,_revision,attributes&at-historical-revision=785'

Response after 15 seconds:

{"status":503,"error":"ask.error","message":"There was an internal timeout.","description":"Please retry the performed action in order to improve resiliency."}

And even worse than that - during the 15 seconds, all other requests to that Thing will fail, as all access is prevented as part of the at-historical-revision calculation.

@thjaeckle thjaeckle added the bug label Dec 18, 2023
@thjaeckle thjaeckle self-assigned this Dec 18, 2023
thjaeckle added a commit that referenced this issue Dec 18, 2023
…ectly denied

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
@thjaeckle thjaeckle added this to the 3.4.4 milestone Dec 18, 2023
thjaeckle added a commit that referenced this issue Dec 18, 2023
…l-revision`

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle added a commit that referenced this issue Dec 19, 2023
…-future-revision

#1844 fix resolving revision or timestamp from the future was not directly denied
thjaeckle added a commit that referenced this issue Dec 22, 2023
…ectly denied

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thjaeckle added a commit that referenced this issue Dec 22, 2023
…l-revision`

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thfries pushed a commit to thfries/ditto that referenced this issue Jan 13, 2024
…e was not directly denied

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
thfries pushed a commit to thfries/ditto that referenced this issue Jan 13, 2024
…`at-historical-revision`

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
1 participant