Overview of Nessie GC
mainNessie GC is a tool designed to clean up orphaned files in a Nessie repository. Running it periodically helps maintain repository cleanliness and prevents unnecessary storage costs.
Key Requirements:
- Java: Requires Java 17 or later.
- Nessie Server: A running Nessie server must be reachable.
- Database: Requires a JDBC-compliant database (PostgreSQL, MariaDB, MySQL, or H2) to store live content sets and deferred deletes. It is recommended to use a persistent database for production.
- Credentials: Requires table-format and object-store credentials for the destructive cleanup phases. These credentials should be scoped to the specific warehouse or prefixes intended for cleanup.