Print WAL index in hex (#567)
This commit is contained in:
@@ -101,7 +101,7 @@ func (c *WALCommand) Run(ctx context.Context, args []string) (err error) {
|
|||||||
for itr.Next() {
|
for itr.Next() {
|
||||||
info := itr.WALSegment()
|
info := itr.WALSegment()
|
||||||
|
|
||||||
fmt.Fprintf(w, "%s\t%s\t%d\t%d\t%d\t%s\n",
|
fmt.Fprintf(w, "%s\t%s\t%x\t%d\t%d\t%s\n",
|
||||||
r.Name(),
|
r.Name(),
|
||||||
info.Generation,
|
info.Generation,
|
||||||
info.Index,
|
info.Index,
|
||||||
|
|||||||
Reference in New Issue
Block a user