diff options
| author | Dan Engelbrecht <[email protected]> | 2024-09-11 13:53:12 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-09-11 13:53:12 +0200 |
| commit | 5b9d20635600a285cbf35b824e417a0e4c35b735 (patch) | |
| tree | eac5484def492d178a6e1558ae2d8200d7b9eeef /src/zen/zen.cpp | |
| parent | validate oplog before opening - if invalid, warn and wipe oplog (#153) (diff) | |
| download | archived-zen-5b9d20635600a285cbf35b824e417a0e4c35b735.tar.xz archived-zen-5b9d20635600a285cbf35b824e417a0e4c35b735.zip | |
oplog cmd improvements (#152)
- Improvement: Removed redundant commands `project-delete` and `oplog-delete`. Use already existing `project-drop` instead.
- Improvement: zen oplog commands `project-drop`, `project-info`, `oplog-create`, `oplog-import`, `oplog-mirror` can now help resolve partial project and oplog identifiers
- Improvement: zen `oplog-mirror` command now has new filter options to control which files are realized to disk: `--key` for op key, `--file` for file path matching and `--chunk` for chunk id matching
- Improvement: `project-drop` command defaults to `--dry-run=true` and will only delete the target if `--dry-run=false` is added to the command line to avoid accidental delete
Diffstat (limited to 'src/zen/zen.cpp')
| -rw-r--r-- | src/zen/zen.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/zen/zen.cpp b/src/zen/zen.cpp index 05af79b31..0f21de130 100644 --- a/src/zen/zen.cpp +++ b/src/zen/zen.cpp @@ -295,9 +295,7 @@ main(int argc, char** argv) CopyCommand CopyCmd; CopyStateCommand CopyStateCmd; CreateOplogCommand CreateOplogCmd; - DeleteOplogCommand DeleteOplogCmd; CreateProjectCommand CreateProjectCmd; - DeleteProjectCommand DeleteProjectCmd; DedupCommand DedupCmd; DownCommand DownCmd; DropCommand DropCmd; @@ -358,7 +356,6 @@ main(int argc, char** argv) {"jobs", &JobCmd, "Show/cancel zen background jobs"}, {"logs", &LoggingCmd, "Show/control zen logging"}, {"oplog-create", &CreateOplogCmd, "Create a project oplog"}, - {"oplog-delete", &DeleteOplogCmd, "Delete a project oplog"}, {"oplog-export", &ExportOplogCmd, "Export project store oplog"}, {"oplog-import", &ImportOplogCmd, "Import project store oplog"}, {"oplog-mirror", &OplogMirrorCmd, "Mirror project store oplog to file system"}, @@ -366,7 +363,6 @@ main(int argc, char** argv) {"print", &PrintCmd, "Print compact binary object"}, {"printpackage", &PrintPkgCmd, "Print compact binary package"}, {"project-create", &CreateProjectCmd, "Create a project"}, - {"project-delete", &DeleteProjectCmd, "Delete a project"}, {"project-details", &ProjectDetailsCmd, "Details on project store"}, {"project-drop", &ProjectDropCmd, "Drop project or project oplog"}, {"project-info", &ProjectInfoCmd, "Info on project or project oplog"}, |