Skip to content

Commit

Permalink
Merge pull request #52 from PowerDNS/docs-0-4-0
Browse files Browse the repository at this point in the history
Update docs for 0.4.0
  • Loading branch information
wojas authored Apr 6, 2023
2 parents 53d3ded + bc2d58a commit 6f99653
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
26 changes: 25 additions & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,30 @@ lightningstream experimental migrate-timestamps [flags]
--src-dbi string Source DBI
```

## lightningstream experimental pdns-v5-fix-duplicate-domains

Fix duplicate domain entries for PowerDNS Auth 4.8 with schema version 5

### Synopsis


The PowerDNS Auth 4.8 schema version 5 makes it possible to create duplicate
domain entries on different instances, which can cause an error in early version
of Auth. This command allows you to remove those duplicate entries.


```
lightningstream experimental pdns-v5-fix-duplicate-domains [flags]
```

### Options

```
--dangerous-do-rename Automatically rename the newer duplicate domain name to fix
-d, --database string Named database to operate on (must be the main database for pdns auth)
-h, --help help for pdns-v5-fix-duplicate-domains
```

## lightningstream help

Help about any command
Expand Down Expand Up @@ -225,7 +249,7 @@ lightningstream snapshots dump [flags]

```
-d, --dbi string Only output DBI with this exact name
-f, --format string Output format, one of: 'debug' (default), 'text' (default "debug")
-f, --format string Output format, one of: 'debug' (default), 'text' (same) (default "debug")
-h, --help help for dump
-l, --local Dump a local file instead of a remote snapshot
```
Expand Down
16 changes: 16 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,22 @@ lmdb_log_stats_interval: 5m
# the 'storage.cleanup' section.
#storage_force_snapshot_interval: 4h
# MemoryDownloadedSnapshots defines how many downloaded compressed snapshots
# we are allowed to keep in memory for each database (minimum: 1, default: 3).
# Setting this higher allows us to keep downloading snapshots for different
# instances, even if one download is experiencing a hiccup.
# These will transition to 'memory_decompressed_snapshots' once a slot opens
# up in there.
# Increasing this can speed up processing at the cost of memory.
#memory_downloaded_snapshots: 3
# MemoryDecompressedSnapshots defines how many decompressed snapshots
# we are allowed to keep in memory for each database (minimum: 1, default: 2).
# Keep in mind that decompressed snapshots are typically 3-10x larger than
# the downloaded compressed snapshots.
# Increasing this can speed up processing at the cost of memory.
#memory_decompressed_snapshots: 2
# Run a single merge cycle and then exit.
# Equivalent to the --only-once flag.
#only_once: false
Expand Down

0 comments on commit 6f99653

Please sign in to comment.