Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[CURATOR-592] Provide a callback that is fired after the InterProcessMutex creates its ephemeral node

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java

調査の方向性

InterProcessMutex acquire() API から始め、issue で説明されている 2 つのフェーズ、つまり ephemeral sequential node の作成と lock の取得を追跡します。node の作成後に callback の境界を定義し、その後、lock が取得される前の通知に対するカバレッジを追加し、取得に時間がかかる場合の動作を検証します。

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

説明

Imported Jira Issue rfe

InterProcessMutex performs two significant steps to acquire its lock:

  1. Creates an ephemeral sequential node. This practically means that it took a position in the lock queue (i.e. based on its sequence value).
  2. Blocks until the lock is acquired.

This improvement is about providing a callback that notifies the caller that the lock order is reserved.

The use for this, at least for us, is that we needed to differentiate between the two phases for higher concurrency because we can do other actions after knowing that the InterProcessMutex order is known. Especially since the lock acquisition can take too long, depending on the situation of course.


Originally reported by mgelbana, imported from: Provide a callback that is fired after the InterProcessMutex creates its ephemeral node
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-21
主要言語
Java
スター
3.2k
フォーク
1.2k
平均マージ
14時間 48分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

apache/curator のほかの issue

apache/curator の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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