arana-db / arana-db/kiwi-cpp

protect mode for kiwi

Open
#183 2 comments 0 reactions 0 assignees View on GitHub
☢️ Bug
Dominant language
C++
Stars
49
Forks
8
PR merge metrics
No merged PRs in 30d

Description

### Is this a regression?

No

### Description

The kiwi should have a protect mode as Redis to refuse write request.
Fox example when the disk is almost full or the lock is rollback, the leader should be in proect mode.

### Please provide a link to a minimal reproduction of the bug

_No response_

### Screenshots or videos

_No response_

### Please provide the version you discovered this bug in (check about page for version information)

```true

```

### Anything else?

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is identified in the issue. Start by tracing leader write-request handling and the existing Redis-compatible behavior, then determine how disk-full and lock-rollback conditions are detected. Done should mean the leader reliably refuses writes while in protect mode, with coverage for those conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, redis
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.