Commits

Martijn Pieters committed 7f732e4

Update readme section on the zodb pack script

  • Participants
  • Parent commits 2ee2c0a

Comments (0)

Files changed (1)

File twophasepack.patch

 # HG changeset patch
 # Parent fd5324ac4fc61dd5ecfa52b24bc0c4f800db486b
-# Date 1298467859 -3600
+# Date 1298468320 -3600
 # User Martijn Pieters <mj@zopatista.com>
 Make it possible to run just the pre-pack or the pack phase individually
 
  ``pack-batch-timeout``
          Packing occurs in batches of transactions; this specifies the
          timeout in seconds for each batch.  Note that some database
+@@ -635,10 +646,15 @@
+     history-free storages, since unreferenced objects are not removed
+     from the database until the specified number of days have passed.
+ 
+-  ``--dry-run``
+-    Instructs the storage to run a dry run of the pack but not actually
+-    delete anything.  This is equivalent to specifying ``pack-dry-run true``
+-    in the storage options.
++  ``--prepack``
++    Instructs the storage to only run the pre-pack phase of the pack but not
++    actually delete anything.  This is equivalent to specifying 
++    ``pack-prepack-only true`` in the storage options.
++
++  ``--use-prepack-state``
++    Instructs the storage to only run the deletion (packing) phase, skipping
++    the pre-pack analysis phase. This is equivalento to specifying
++    ``pack-skip-prepack true`` in the storage options.
+ 
+ Development
+ ===========
 diff --git a/relstorage/adapters/packundo.py b/relstorage/adapters/packundo.py
 --- a/relstorage/adapters/packundo.py
 +++ b/relstorage/adapters/packundo.py