Add --cdc_debug flag and tqdm progress for CDC preprocessing

- Add --cdc_debug flag to enable verbose bucket-by-bucket output
- When debug=False (default): Show tqdm progress bar, concise logging
- When debug=True: Show detailed bucket information, no progress bar
- Improves user experience during CDC cache generation
This commit is contained in:
rockerBOO
2025-10-09 17:24:02 -04:00
parent 7a7110cdc6
commit c8a4e99074
4 changed files with 38 additions and 19 deletions

View File

@@ -580,6 +580,12 @@ def setup_parser() -> argparse.ArgumentParser:
help="Force recompute CDC cache even if valid cache exists"
" / 有効なCDCキャッシュが存在してもCDCキャッシュを再計算",
)
parser.add_argument(
"--cdc_debug",
action="store_true",
help="Enable verbose CDC debug output showing bucket details"
" / CDCの詳細デバッグ出力を有効化バケット詳細表示",
)
return parser