add Redis Sentinel support
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
ファイル、テスト、エントリーポイントは指定されていません。まず既存の Redis キャッシュとセッションの設定を見つけ、その接続オプションをリンク先の Symfony Sentinel リファレンスと比較してください。アプリケーションで Sentinel ホストと master 名を設定でき、現在の master を検出し、フェイルオーバー中も処理を継続できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
PHP Version
8.4
CodeIgniter4 Version
4.6.3
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
SQLServer 2019
What happened?
CodeIgniter 4 currently supports Redis for cache and session management, but does not provide built-in support for Redis Sentinel. This limits high availability and automatic failover capabilities for applications using Redis clusters.
Steps to Reproduce
- Configure CodeIgniter 4 to use Redis for cache or session storage.
- Attempt to connect to a Redis cluster managed by Sentinel using the current configuration options.
- Observe that there is no way to specify Sentinel hosts or master name, and failover is not handled automatically.
Expected Output
- CodeIgniter 4 should allow configuration of Redis Sentinel hosts and master name for cache and session management.
- The framework should automatically discover the current master node via Sentinel and handle failover seamlessly.
- Applications should remain highly available and continue to function even if the Redis master changes.
- For reference, see how Symfony implements Redis Sentinel support:
https://symfony.com/doc/current/components/cache/adapters/redis_adapter.html#configure-the-connection
Anything else?
No response
- 主要言語
- PHP
- スター
- 6k
- フォーク
- 2k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 59
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codeigniter4/CodeIgniter4 のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
codeigniter4/CodeIgniter4#10616 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
codeigniter4/CodeIgniter4#10618 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
codeigniter4/CodeIgniter4#10617 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
codeigniter4/CodeIgniter4#10615 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
codeigniter4/CodeIgniter4#10589 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
codeigniter4/CodeIgniter4 の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ProfessionalWiki/NeoWiki#1675 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
WhatsApp link preview crawler is not detected as a bot対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
matomo-org/device-detector#8405 ·
メンテナーはふだん 1 日以内に返信