couchbaselabs / couchbaselabs/couchbase-shell
Help debug txns
- Dominant language
- Rust
- Stars
- 87
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Proposal: add a `txn` command which allows to debug transaction issues.
A useful starting point is just to dump the JSON of
- all ATRs + client-records in the default locations, or
- all the ATRs + client-records in a custom metadata collection, or
- any transactional metadata on a given document
In the future, validation can be added too.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by locating the shell's command entry points and the existing transaction metadata handling, then determine how the default locations, custom metadata collections, and document-specific metadata are accessed. Done means a txn command can dump the requested JSON forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100