Recovering from a loss of data integrity / support for transactions
@pterk がすでに取り組んでいます。
2018年10月29日 から。
評価
この issue はまだ評価されていません。
説明
I'm running into some problems keeping data integrity between getstream and our database with transactions enabled, although the bigger problem is recovering from any loss of integrity. Problem is that at any point in the transaction the model could fail to save/delete and rollback, but the activity still remains in getstream.
At the moment I've had to settle on a hacky solution which just filters out any activity that fails to be linked to an object during the enriching process, but this feels a little bit inadequate. Ideally there would be a management command that I could run during maintenance to remove any deleted models from getstream, something like haystack's rebuild/update index commands, but looking at the api I'm not sure if that's possible.
Do you have any general advice / is there a way to build in better support for transactions?
- 主要言語
- Python
- スター
- 448
- フォーク
- 77
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GetStream/stream-django のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
GetStream/stream-django#115 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
GetStream/stream-django#97 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
GetStream/stream-django#90 · コメント 1 件 · リアクション 13 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
GetStream/stream-django#87 · リアクション 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
GetStream/stream-django#86 ·
GetStream/stream-django の issue をすべて見る
似ている issue
-
bug needs-triage priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
yeongseon/azure-functions-logging-python#583 ·
メンテナーはふだん 1 日以内に返信
-
documentation needs-triage priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
yeongseon/azure-functions-validation-python#546 ·
メンテナーはふだん 1 日以内に返信
-
PHP workflow streaming requests buffer the full SSE response対応中かも @Winoren が今日担当しました。 オープンreview: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
langgenius/dify#44270 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
P4: low
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
jeffknupp/association#523 ·
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DarkStarSystems/pcons#229 ·
メンテナーはふだん 1 日以内に返信