Skip to content

Move engine datadir to core config#46

Merged
reinkrul merged 7 commits into
masterfrom
iss42-datadir-config
Feb 5, 2021
Merged

Move engine datadir to core config#46
reinkrul merged 7 commits into
masterfrom
iss42-datadir-config

Conversation

@reinkrul

@reinkrul reinkrul commented Feb 4, 2021

Copy link
Copy Markdown
Member

In practice you'll probably want to have all data files in the same place, if not you can symlink them.

Fixes #42
Based on #44 (rebase first)

@codecov

codecov Bot commented Feb 4, 2021

Copy link
Copy Markdown

Codecov Report

Merging #46 (bfa7bef) into master (d4e8ba1) will increase coverage by 0.13%.
The diff coverage is 92.30%.

Impacted Files Coverage Δ
core/metrics.go 83.33% <ø> (ø)
crypto/engine/engine.go 79.66% <ø> (-0.34%) ⬇️
network/config.go 100.00% <ø> (ø)
network/engine/engine.go 77.38% <ø> (-0.27%) ⬇️
vdr/config.go 0.00% <ø> (ø)
vdr/engine/engine.go 82.75% <ø> (-0.20%) ⬇️
vdr/vdr.go 0.00% <ø> (ø)
crypto/crypto.go 68.42% <66.66%> (-1.58%) ⬇️
core/config.go 94.11% <100.00%> (+0.24%) ⬆️
core/engine.go 87.50% <100.00%> (+0.54%) ⬆️
... and 1 more

@reinkrul
reinkrul force-pushed the iss42-datadir-config branch 3 times, most recently from 10589aa to bf53ab1 Compare February 4, 2021 12:48

@woutslakhorst woutslakhorst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • failing tests
  • rebase on master?
  • some documentation on which files to expect in the datadir?

@reinkrul
reinkrul force-pushed the iss42-datadir-config branch from 60f31a1 to 0e5a8e7 Compare February 4, 2021 15:10
@reinkrul

reinkrul commented Feb 5, 2021

Copy link
Copy Markdown
Member Author
  • failing tests
  • rebase on master?
  • some documentation on which files to expect in the datadir?

I documented it as part of backup recommedations in "running in production".

Comment thread docs/pages/production-configuration.rst Outdated
Comment thread docs/pages/production-configuration.rst Outdated
@reinkrul
reinkrul merged commit b3ec7a6 into master Feb 5, 2021
@reinkrul
reinkrul deleted the iss42-datadir-config branch February 5, 2021 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use global datadir instead of configuring it per engine

2 participants