How to query and add atomically?
まだ誰も着手していません。
評価
調査の方向性
Start with the bfcquery and bfcadd entry points and determine how transactions are currently handled. Define the expected behavior when concurrent callers query and add the same resource, then verify it with a focused concurrency test; done means the race is prevented or the supported limitation is documented.
索引モデルが issue の本文から書いたものです。
説明
I could not find an API which would do the following:
- start transaction
bfcqueryfor resource X- if absent,
bfcaddX - end transaction
I am afraid that I will run into race condition if two processes both query, both get negative result, then they both add at once.
Is there a way to remove a possibility of such a race condition?
- 主要言語
- R
- スター
- 14
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Bioconductor/BiocFileCache のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Bioconductor/BiocFileCache#76 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
Bioconductor/BiocFileCache#75 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Bioconductor/BiocFileCache#72 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
Bioconductor/BiocFileCache#66 · コメント 16 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Bioconductor/BiocFileCache#60 · コメント 3 件 ·
Bioconductor/BiocFileCache の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
HelenaLC/spatialdataR#295 ·
-
size-time-budget
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Openscapes/blogscapes#61 ·
メンテナーはふだん 1 日以内に返信
-
bug posit-ai
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100