Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The RW node always initialized with in_replicaset=false

オープン
#251 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
lua
領域
database

調査の方向性

require'queue' の初期化を queue_init() と switch_in_replicaset を通して追跡し、次に queue.cfg({in_replicaset=true}) が一時スペースの作成および移行とどのように相互作用するかを調査します。設定が適用される前に queue の require によってシステムスペースがフォーマットまたは変更されず、2.10.8 から 3.2.1 への移行がブロックされなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

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
スター
244
フォーク
56
平均マージ
6日 8時間
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tarantool/queue のほかの issue

tarantool/queue の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。