Sync fails sometimes with "Key not unique"

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
領域
backend

調査の方向性

Start by investigating the sync baselining path and how ZHSLIB is loaded, since the report says it may be loaded twice and gives #1290 as context. Reproduction is still unavailable, so first establish a failing case and trace the duplicate load. The issue is done when baselining succeeds, or any non-fatal warning no longer emits text containing ERROR # that CI treats as an error.

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

説明

bug

Describe the bug

As a follow up to #1290, this issue tracks the underlying cause of the sync failure. The reported error is "Key not unique" on the file hash of what looks like module.xml. It looks like ZHSLIB gets loaded twice. The first time sync baselining works, but the second time it fails.

Relatedly, IPM outputs the error status using a plain write and doesn't throw, but the CI parsing interprets the ERROR # as an actual error, so we should strip that bit of string from the non-fatal warning.

To Reproduce

Unable to so far.

Expected behavior

Sync baselining doesn't fail. And if it does, it should be non-fatal to CI and not output text containing ERROR #

System information (please complete the following information):

  • IPM version: 0.10.10

Additional context

Internal reference DEVOPS-1919

主要言語
ObjectScript
スター
41
フォーク
33
平均マージ
23時間 20分
マージ済み PR(30日)
29

環境構築

はじめの一歩

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

intersystems/ipm のほかの issue

intersystems/ipm の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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