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

rewrite the config file more safely #432

Merged

Conversation

exarkun
Copy link
Member

@exarkun exarkun commented Jul 26, 2017

Fixes https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2895#ticket

And also fixes the failing integration test on travis-ci, apparently, though I don't really know why.

use cli options for whatever we can
use the config apis for the other thing

this avoids clobbering configuration we don't know about -
such as the storage=False setting (which made all nodes storage servers).
now that there are only 5 storage servers instead of 8 as expected
@codecov-io
Copy link

codecov-io commented Jul 26, 2017

Codecov Report

Merging #432 into master will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #432      +/-   ##
==========================================
+ Coverage      88%   88.05%   +0.04%     
==========================================
  Files         147      147              
  Lines       27833    27833              
  Branches     3977     3977              
==========================================
+ Hits        24494    24507      +13     
+ Misses       2624     2615       -9     
+ Partials      715      711       -4
Impacted Files Coverage Δ
src/allmydata/stats.py 85.34% <0%> (-0.87%) ⬇️
src/allmydata/mutable/servermap.py 94.2% <0%> (+0.16%) ⬆️
src/allmydata/immutable/upload.py 95.53% <0%> (+0.27%) ⬆️
src/allmydata/immutable/downloader/share.py 95.29% <0%> (+2.46%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d1653d...b481fc4. Read the comment docs.

@meejah
Copy link
Contributor

meejah commented Jul 27, 2017

looks good to me! 👍

@exarkun exarkun merged commit 7cad9e1 into master Jul 27, 2017
@exarkun exarkun deleted the 2895.servers-of-happiness-integration-test-storage-servers branch July 27, 2017 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants