Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for 0.4.0 #52

Merged
merged 1 commit into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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