MapColonies / MapColonies/GpkgMerger

Merger puts tasks 'In-Progress' for each task type that exists parallely (MAPCO-4446)

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

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

bug
主要言語
C#
スター
1
フォーク
2
平均マージ
21分
マージ済み PR(30日)
1

説明

If exists, TilesMerger pulls a task for each task type, if tasks exist then all but one are "lost" and get a status of In-Progress.

The relevant code is in the MainRunner file:
https://github.com/MapColonies/GpkgMerger/blob/653bdd5b9e4a17823d70ea03bbf751198c7944fc/MergerService/Runners/MainRunner.cs#L36-L40

phenomenon:
Once three ingestion processes are in parallel, tasks from all ingestion processes are moved to status In-Progress, although the merger does not work on them.

To Reproduce
Run multiple (at least 2) ingestion jobs with different ingestion types with existing tasks. (swap, new, update).

Actual behavior
Merger moves tasks to In-Progress although not working on them.

Expected behavior
Merger will "mark" only one task as In-Progress and work on it.

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

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

はじめの一歩

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

調査の方向性

MergerService/Runners/MainRunner.cs、特に36-40行目から始め、swap、new、updateなど異なるタイプの取り込みジョブを少なくとも2つ実行して問題を再現します。複数のタスクが存在する場合に、どのタスクがIn-Progressとしてマークされるかを追跡します。処理中のタスクだけがIn-Progressとしてマークされ、他のタスクは利用可能なままであれば完了です。

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

評価

技術スタック
csharp
領域
backend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

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

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