The RW node always initialized with in_replicaset=false
还没有人认领这个 Issue。
评估
调研方向
通过 queue_init() 和 switch_in_replicaset 跟踪 require'queue' 的初始化,然后检查 queue.cfg({in_replicaset=true}) 如何与临时空间的创建和迁移交互。当 require queue 不会在应用配置之前格式化或修改系统空间,并且从 2.10.8 到 3.2.1 的迁移不再受阻时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Queue initialization looks like this:
local queue=require'queue'
queue.cfg({in_replicaset=true})
It seems that this queue will always be not temporary (in_replicaset=true)... but it's not true.
The require'queue call generates an internal queue_init() call, which in turn leads to switch_in_replicaset.
since we can't configure in_replicaset at the require stage, we have a switch going on.
As part of the switch, a temporary space is created and migration is started.
This happens every time on the require'queue'
In our case, this leads to the creation of a space and formatting of the schema, which blocks migration from 2.10.8 to 3.2.1 due to modification of the system space.
- 主要语言
- Lua
- 星标
- 243
- 派生
- 56
- 平均合并
- 6 天 8 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tarantool/queue 的其他 Issue
-
documentation good first issue
难度 1/5 1 小时以内 新手友好度 85/100
-
*ttl drivers: TTL branch dereferences delete() result without a nil check, killing the fiber可能已有人在做 @maksimuimin 于 18 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 76/100
-
*ttl drivers: a dead TTL fiber cannot be restarted and wedges the queue in ENDING on the next RO switch可能已有人在做 @maksimuimin 于 18 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
-
fifottl/limfifottl: stop() blocks forever while RW, drop() leaks the TTL fiber可能已有人在做 @maksimuimin 于 18 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 55/100
-
1sp bug teamE
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
severity: low
难度 2/5 1-3 小时 新手友好度 70/100
luainkernel/lunatik#1853 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 3 天内回复
-
Crash in ReaderFooter:setTocMarkers when the footer is disabled可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[Operation Enhancement]: .editorconfigと.gitattributesでdictionaryとLuaファイルの編集・改行設定を統一する可能已有人在做 @5kdn 于 1 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 80/100
5kdn/DCS-Translation-Japanese#163 ·
维护者通常 1 天内回复