tarantool / tarantool/queue

Add recomendation to call queue.cfg({in_replicaset = true}) before box.cfg({})

Open
#206 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug teamE
Dominant language
Lua
Stars
244
Forks
56
PR merge metrics
No merged PRs in 30d

Description

I don't have a stable test results if queue.cfg({in_replicaset = true}) is called after box.cfg(). I have such errors on re-identify after a role switch:

Unable to re-identify in the pool: .../.rocks/share/tarantool/queue/abstract/queue_session.lua:223: The UUID eff1bc1e-6e56-4c1b-bc6e-9c635a5fb4fd is unknown. (0x20)

I'd like to see obvious recommendation to call queue.cfg({in_replicaset = true}) before box.cfg() in the documentation (we have such examples in README at now, but it is not obvious) if it's not a bug (I'm not actually sure).

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Review the README examples for queue.cfg({in_replicaset = true}) and box.cfg({}), then compare them with the behavior shown in example_connection_pool_test.go. Update the documentation so the required call order is explicit, including the relevant role-switch context, and confirm the example remains consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.