`box_raw_read_view_new()` may fail with `ER_READ_VIEW_THROTTLED`
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- documentation
Research direction
The issue points to the C API reference page for box_raw_read_view_new(); start by reading that page and checking how it describes the function's return value and errors. Document the 100 ms rate limit, ER_READ_VIEW_THROTTLED, and the retry behavior described here. Done means the reference explains when the function can return NULL and what callers should do.
Written by the indexing model from the issue text.
Description
Since: 3.9.0, 3.8.2, 3.7.2
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_capi/read_views_c_api/#c.box_raw_read_view_new
Creation of read views is now rate-limited: a new read view can be opened
only 100 ms or more after the previous one. box_raw_read_view_new() never
yields. If it is called too soon after the previous read view was opened,
it returns NULL and sets the error ER_READ_VIEW_THROTTLED. The caller
should retry.
Requested by @Gumix in https://github.com/tarantool/tarantool-ee/commit/7bc8199fc2e5a7974d6eb6975d8d182f33280f5b.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tarantool/doc
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
krahets/hello-algo#1993 ·
-
DOC: Add an example for using Cheaper Inference with OpenAIModelPossibly taken @aiapienthusiast claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
huggingface/smolagents#2988 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ioos/compliance-checker#1375 ·
Maintainers usually reply within 1 day