Skip to content

Commit 08c4130

Browse files
committed
node: 'graphman copy status': Use bigger columns for next and target
The vids for huge subgraphs can go into the billions; this change makes the columns big enough for that Also expand the duration column a little for very long running durations
1 parent 72834fd commit 08c4130

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

node/src/manager/commands/copy.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,10 @@ pub fn status(pools: HashMap<Shard, ConnectionPool>, dst: &DeploymentSearch) ->
336336
println!();
337337

338338
println!(
339-
"{:^30} | {:^8} | {:^8} | {:^8} | {:^8}",
339+
"{:^30} | {:^10} | {:^10} | {:^8} | {:^10}",
340340
"entity type", "next", "target", "batch", "duration"
341341
);
342-
println!("{:-<74}", "-");
342+
println!("{:-<80}", "-");
343343
for table in tables {
344344
let status = match &table.finished_at {
345345
// table finished
@@ -352,7 +352,7 @@ pub fn status(pools: HashMap<Shard, ConnectionPool>, dst: &DeploymentSearch) ->
352352
None => ".",
353353
};
354354
println!(
355-
"{} {:<28} | {:>8} | {:>8} | {:>8} | {:>8}",
355+
"{} {:<28} | {:>10} | {:>10} | {:>8} | {:>10}",
356356
status,
357357
table.entity_type,
358358
table.next_vid,

0 commit comments

Comments
 (0)