f7ea95aed1
Hoist lock, reposition parameters
2018-09-07 13:18:19 -06:00
f07ce59be8
Toggle parameters
2018-09-07 13:18:19 -06:00
da423b6cf0
Hoist read lock
2018-09-07 13:18:19 -06:00
d5f60b68e4
Hoist window write lock
2018-09-07 13:18:19 -06:00
78b3a8f7f9
Hoist repair_window() branches
...
This probably would have been done if repair_window() was unit-tested.
2018-09-07 13:18:19 -06:00
d77699c126
Do the easy check first
...
All functions above operate on immutable values, so this shouldn't
change functionality, but no repair_window() tests to be certain.hI
2018-09-07 13:18:19 -06:00
09ba0dae15
Remove redundant clone()
2018-09-07 13:18:19 -06:00
a5c7575207
Rewrite find_next_missing, call it clear_slots
2018-09-07 13:18:19 -06:00
50f040530b
Remove redundant cast
2018-09-07 13:18:19 -06:00
7f99c90539
Simplify using early return and Result::ok()
2018-09-07 13:18:19 -06:00
d8564b725c
Don't reference window to get each slot
2018-09-07 13:18:19 -06:00
e4de25442a
Hoist write lock
...
It needed to be passed the lock before, because it contained a
branch where one side didn't require locking. Now that that
defensive programming was hoisted, we can hoist the write lock
as well, leaving a simpler function for unit testing.
2018-09-07 13:18:19 -06:00
3b2ea8fd40
Hoist untested branch in window
...
If there were unit tests for this function, the author would have
written it this way to make their own life easier.
2018-09-07 13:18:19 -06:00
9a1832ed61
Bump ping timeout
2018-09-07 12:01:43 -07:00
9e45f1f5e2
Doc fixup
2018-09-07 12:01:43 -07:00
ee682d5bc3
Move wallet-sanity.sh out of multinode-demo/
2018-09-07 12:01:43 -07:00
05decc863f
Make set -x more buildkite friendly
2018-09-07 12:01:43 -07:00
506a81e8cc
Assume -y
2018-09-07 12:01:43 -07:00
dcb30a8489
Delete leader node first
2018-09-07 12:01:43 -07:00
a2631e89f6
Use consistent style
2018-09-07 12:01:43 -07:00
ab208ddb77
Clean up arg handling
2018-09-07 12:01:43 -07:00
09a48d773a
Run bench-tps in a tmux
2018-09-07 12:01:43 -07:00
88298bf321
Add -n option
2018-09-07 12:01:43 -07:00
d252f7f687
Revert "Default to 10 validators"
...
This reverts commit ed5fbaef06
.
2018-09-07 12:01:43 -07:00
533ebc17f2
Install multilog automatically on a CI machine
2018-09-07 11:56:23 -07:00
f4947236dc
Keep cargo-target-cache size under 6GB-ish
2018-09-07 11:45:27 -07:00
e088833b81
s/create/start/
2018-09-06 21:07:11 -07:00
53e16f68d9
Improve error handling
2018-09-06 20:57:05 -07:00
ed5fbaef06
Default to 10 validators
2018-09-06 20:46:49 -07:00
b1bacf12a6
Add some log sections
2018-09-06 20:38:11 -07:00
66ff602659
Rewrite ci/testnet-{deploy,sanity}.sh in terms of net/ primitives
2018-09-06 19:54:39 -07:00
e175c9dea9
Remove ip address hardcode. Fixes #959
2018-09-06 19:54:39 -07:00
5a57d9b5d9
de-y
2018-09-06 19:54:39 -07:00
03e87e4169
Add more metrics
2018-09-06 19:54:39 -07:00
abfff66d53
Retry ssh a couple times before giving up
2018-09-06 19:54:39 -07:00
31dee553d5
Split start/version reporting
2018-09-06 19:54:39 -07:00
9ca6a2d25b
Configure boot disk size
2018-09-06 19:54:39 -07:00
a3178c3bc7
Remove unused name tag
2018-09-06 19:54:39 -07:00
aa07bdfbaa
Optionally suppress delete confirmation
2018-09-06 19:54:39 -07:00
eaef9be710
Clarify -f
2018-09-06 19:54:39 -07:00
cae345b416
Allow - in prefix
2018-09-06 19:54:39 -07:00
acb1171422
Add -e option
2018-09-06 19:54:39 -07:00
52d8f293b6
Add links to citations
...
And fix hyphens in quote.
2018-09-06 20:41:05 -06:00
636eb8d058
Add Leslie Lamport quote to README
2018-09-06 20:41:05 -06:00
0fa27f65bb
Use the default Pubkey formatter instead of debug_id()
2018-09-06 16:31:47 -06:00
8f94e3f7ae
Buffer tokens when switching directions to prevent errors ( #1126 )
...
Even if transactions are dropped, accounts will have buffer
of tokens. Should reduce or eliminate AccountNotFound errors seen in the
leader while bench-tps is running.
2018-09-06 14:20:01 -07:00
05460eec0d
Open multiple sockets for transaction UDP port ( #1128 )
...
* Reuse UDP port and open multiple sockets for transaction address
* Fixed failing crdt tests
* Add tests for reusing UDP ports
* Address review comments
* Updated bench-streamer to use multiple receive sockets
* Fix minimum number of recv sockets for bench-streamer
* Address review comments
Fixes #1132
* Moved bind_to function to nat.rs
2018-09-06 14:13:40 -07:00
072d0b67e4
Send deploy metrics to the testnet-specific database
2018-09-06 08:30:03 -07:00
fdc48d521c
use USER instead of whoami ( #1134 )
...
* use USER instead of whoami
make gcloud_FigureRemoteUsername robust against unsolicited output
(that I get on login ;) )
validate --prefix argument
* Update gcloud.sh
2018-09-07 00:18:05 +09:00
6560b0e2cc
s/whoami/id -un/
2018-09-05 14:26:21 -07:00