Summary
RedisKeysView._deleteKey and RedisKeyEditor._deleteKey call DEL immediately. Hash field / set / zset row X buttons call HDEL / SREM / ZREM with no dialog.
One missclick removes a production key. Mongo explorer had the same hole (#781). SQL workspaces use showDestructiveQueryDialog. Redis has no staging buffer, so the write is instant.
Scope
- Confirm before DEL (key name + type in the copy).
- Confirm before removing a hash field / set member / zset member, or at least the whole key.
- Escape / Cancel must not send the command.
Out of scope
Reactions are currently unavailable
Summary
RedisKeysView._deleteKey and RedisKeyEditor._deleteKey call DEL immediately. Hash field / set / zset row X buttons call HDEL / SREM / ZREM with no dialog.
One missclick removes a production key. Mongo explorer had the same hole (#781). SQL workspaces use showDestructiveQueryDialog. Redis has no staging buffer, so the write is instant.
Scope
Out of scope