Skip to content

Commit 7200eff

Browse files
committed
minor admintool additions
1 parent d9807ea commit 7200eff

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/content/docs/reference/admintool.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ For unified WAL files (created when using `--unified` mode), each entry is prefi
542542

543543
**Example (per-CF WAL)**
544544
```
545-
admintool(./mydb)> wal-dump ./mydb/users/wal_000001.log 5
545+
admintool(./mydb)> wal-dump ./mydb/users/wal_1.log 5
546546
WAL Entries (limit: 5):
547547
1) [PUT] seq=1 key="user:1" value="John Doe"
548548
2) [PUT] [TTL:1711584000] seq=2 key="sess:abc" value="token123"
@@ -553,7 +553,7 @@ WAL Entries (limit: 5):
553553

554554
**Example (unified WAL)**
555555
```
556-
admintool(./mydb)> wal-dump ./mydb/uwal_000001.log 5
556+
admintool(./mydb)> wal-dump ./mydb/uwal_0.log 5
557557
WAL Entries (limit: 5):
558558
1) [CF:0] [PUT] seq=10 key="user:1" value="Alice"
559559
2) [CF:1] [PUT] seq=10 key="order:1" value="item_A"
@@ -570,8 +570,8 @@ wal-verify <wal_path>
570570

571571
**Example**
572572
```
573-
admintool(./mydb)> wal-verify ./mydb/users/wal_000001.log
574-
Verifying WAL: ./mydb/users/wal_000001.log
573+
admintool(./mydb)> wal-verify ./mydb/users/wal_1.log
574+
Verifying WAL: ./mydb/users/wal_1.log
575575
File Size: 4096 bytes
576576
Format: Per-CF WAL
577577
Valid Entries: 42

0 commit comments

Comments
 (0)