clear-code / redmine_full_text_search

Full text search for Redmine
MIT License
61 stars 24 forks source link

Non-unique Error at UpsertTargetJob Ver.2 #82

Closed usk0517 closed 4 years ago

usk0517 commented 4 years ago

81 の続き

再インストールして試しましたが、変わりませんでした。 ログは#81 と同じ

どうやら、チケットの新規作成した段階では発生せず、更新(特に既に登録しているデータの更新【〇〇を〇〇から〇〇に変更】)の時に発生するようです。

引き続きよろしくおねがいします

usk0517 commented 4 years ago

一部訂正します

一意性制約エラーは発生しなくなっているようですが、UpdateIssueContentJob の エラーが解消されておりません

下記のケースで発生しておりますが、詳細な発生条件は不明です

1)チケットの新規作成

[2020-03-24 19:00:03 +0900] [ERROR] -- Error performing FullTextSearch::UpdateIssueContentJob (Job ID: ece9252d-69fa-402e-b541-3aa111ac5e14) from Async(full_text_search) in 2.1ms: ActiveRecord::RecordNotFound (Couldn't find Issue with 'id'=16):

2)チケットの更新(カスタムフィールドの項目追加)

[2020-03-24 19:01:21 +0900] [ERROR] -- Error performing FullTextSearch::UpdateIssueContentJob (Job ID: e5c0d070-50a0-4122-869c-fa2c2a548599) from Async(full_text_search) in 1.3ms: ActiveRecord::RecordNotFound (Couldn't find Journal with 'id'=27):

3)チケットの更新(カスタムフィールドの項目変更) [2020-03-24 19:02:04 +0900] [ERROR] -- Error performing FullTextSearch::UpdateIssueContentJob (Job ID: dc7c687b-77c9-462a-847a-d71b0d274905) from Async(full_text_search) in 1.39ms: ActiveRecord::RecordNotFound (Couldn't find Journal with 'id'=28):

kou commented 4 years ago

直してみたつもりなのでmasterを試してみてもらえますか?

usk0517 commented 4 years ago

問題は解消されているようです ありがとうございました