You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@kvrocks.apache.org by GitBox <gi...@apache.org> on 2026/09/01 01:49:16 UTC

[GH] (kvrocks/unstable): Workflow run "SonarCloud Analysis" failed!

The GitHub Actions job "SonarCloud Analysis" on kvrocks.git/unstable has failed.
Run started by GitHub user raghav2005 (triggered by raghav2005).

Head commit for run:
1418e23da766cbe9d72b03bebc52d0152f1cf0bd / Aether <98...@users.noreply.github.com>
feat(keyspace): emit set and del notifications (#3541)

Implement initial keyspace notifications for set and del events,
compatible with Redis notify-keyspace-events.

This PR adds the initial notification emitters and configuration
support:
- Support `K`, `E`, `g`, `$`, and `A` flags, where `A` currently expands
to the implemented event classes `g$`.
- Emit `set` notifications only when the shared `Set` path actually
applies a write, including conditional `SET` variants.
- Emit `del` notifications only for keys that are actually deleted
through the shared delete path.
- Deduplicate repeated keys in a single delete operation, so the same
key is deleted and notified once.
- Queue notifications inside `MULTI/EXEC` and publish them after a
successful commit.
  - Map notification DB names correctly:
    - default namespace uses DB `0`
    - `redis-databases` namespaces map back to Redis DB indexes

This PR only adds the initial set and del event paths on primary nodes,
keeping the initial patch small and reviewable. Commands sharing the
same underlying mutation APIs may also produce these events.
Replica-side notifications and additional event types, if supported, can
be added in follow-up PRs.

Unsupported notification classes are rejected for now until their
emitters are implemented.

  Ref Proposal: #3533
  Tracking Issue: #2915
  
  Assisted by Codex/GPT-5.5.

---------

Co-authored-by: hulk <hu...@gmail.com>
Co-authored-by: Aleks Lozovyuk <al...@gmail.com>

Report URL: https://github.com/apache/kvrocks/actions/runs/33460188184

With regards,
GitHub Actions via GitBox