Skip to content

Commit

Permalink
Fix RockDB config properties (#7942)
Browse files Browse the repository at this point in the history
* Remove obsolete and unused RockDB config classes.

* Update docs to use the new RockDB path property name.
  • Loading branch information
dimas-b authored Jan 11, 2024
1 parent f17fa9c commit 6940fe7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ quarkus.datasource.db-kind=postgresql
quarkus.datasource.devservices.enabled=false

## RocksDB version store specific configuration
#nessie.version.store.rocks.db-path=nessie-rocksdb
#nessie.version.store.persist.rocks.database-path=nessie-rocksdb

## MongoDB version store specific configuration
quarkus.mongodb.database=nessie
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,4 @@ enum VersionStoreType {
@WithName("events.enable")
@WithDefault("true")
boolean isEventsEnabled();

@StaticInitSafe
@ConfigMapping(prefix = "nessie.version.store.rocks")
interface RocksVersionStoreConfig {
@WithName("db-path")
@WithDefault("/tmp/nessie-rocksdb")
String getDbPath();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ quarkus.datasource.db-kind=postgresql
quarkus.datasource.devservices.enabled=false

## RocksDB version store specific configuration
#nessie.version.store.rocks.db-path=nessie-rocksdb
#nessie.version.store.persist.rocks.database-path=nessie-rocksdb

## MongoDB version store specific configuration
quarkus.mongodb.database=nessie
Expand Down

This file was deleted.

6 changes: 3 additions & 3 deletions site/docs/try/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ A complete set of JDBC configuration options can be found on [quarkus.io](https:

When setting `nessie.version.store.type=ROCKSDB` which enables RocksDB as the version store used by the Nessie server, the following configurations are applicable in combination with `nessie.version.store.type`:

| Property | Default values | Type | Description |
|--------------------------------------|-----------------------|----------|------------------------------------------------------|
| `nessie.version.store.rocks.db-path` | `/tmp/nessie-rocksdb` | `String` | Sets RocksDB storage path, e.g: `/tmp/rocks-nessie`. |
| Property | Default values | Type | Description |
|----------------------------------------------------|-----------------------|----------|------------------------------------------------------|
| `nessie.version.store.persist.rocks.database-path` | `/tmp/nessie-rocksdb` | `String` | Sets RocksDB storage path, e.g: `/tmp/rocks-nessie`. |

#### Cassandra Version Store Settings

Expand Down

0 comments on commit 6940fe7

Please sign in to comment.