The GitHub Actions job "CI" on kvrocks.git/unstable has failed. Run started by GitHub user git-hulk (triggered by git-hulk).
Head commit for run: 381f88a7987cd1731cdfbb1759f09bc079991d21 / 涵曦 <[email protected]> feat: add redis-databases option to support SELECT command (#3294) Closes #3291 Implements redis-select-compatible configuration option that enables Redis SELECT command support by mapping database indices to namespaces. When enabled, SELECT 0-15 commands are translated to namespace switches, allowing legacy Redis clients to work seamlessly with Kvrocks. Key Implementation: - redis-select-compatible: Enable/disable SELECT command support (default: no) - redis-select-db-prefix: Namespace prefix for database mapping (default: __db) - redis-select-db-count: Number of logical databases (default: 16, range: 1-10000) - SELECT <dbid> internally calls SetNamespace({prefix}{dbid}) to switch context - Validates namespace conflicts on startup to prevent data corruption Changes: - Add three new readonly config options in kvrocks.conf - Implement SELECT command handler with namespace-based switching - Add startup validation to check namespace conflicts - Add comprehensive configuration documentation This provides native SELECT command support without external proxies, maintaining compatibility with Redis clients while leveraging Kvrocks' namespace architecture. --------- Co-authored-by: Twice <[email protected]> Report URL: https://github.com/apache/kvrocks/actions/runs/20339200721 With regards, GitHub Actions via GitBox
