Add recomendation to call queue.cfg({in_replicaset = true}) before box.cfg({})
Nobody has claimed this yet.
- 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
- 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.
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