Ilya Dmitrichenko
2199c5c273
Add Jekyll "frontmatter", it does not build it otherwise
2015-05-13 10:36:22 +01:00
Ilya Dmitrichenko
366adfb8f9
Move WeaveDNS docs to docs.weave.works ( close #471 )
2015-05-13 10:21:51 +01:00
Ilya Dmitrichenko
17925a0c0b
gsutil rsync does not imply recursion
2015-05-13 10:21:32 +01:00
Matthias Radestock
55077d5059
cosmetic: it's lower-case 'weave' everywhere except in titles
2015-05-12 17:26:28 +01:00
David Wragg
3e4f7358a7
Mention "CIDR notation" rather than "CIDR" in error message
...
It's more web-searchable.
2015-05-12 15:48:33 +01:00
Matthias Radestock
9195894d2a
Show error message when DNS population fails part way through.
...
Closes #393 .
2015-05-12 11:49:48 +01:00
Matthias Radestock
953449c215
refactor: extract Peer.ForEachConnectedPeer helper
2015-05-11 21:06:07 +01:00
Matthias Radestock
c5c93d3a77
refactor: increase similarity betweeen parts of route calculation
2015-05-11 20:14:24 +01:00
Matthias Radestock
039446f756
cosmetic: remove outdated comment
2015-05-11 20:00:04 +01:00
Matthias Radestock
03c1f49850
make profiling work again
...
The weave SIGINT signal handler was racing the profiler SIGINT signal
handler. So now we a) make the former return instead of exit, and b)
disable the latter, as a result of which the deferred profile.Stop in
weaver/main gets called.
2015-05-11 19:38:06 +01:00
Matthias Radestock
43133b5851
increase tolerance for missed udp heartbeats
...
3 are quite easy to miss when there is contention. 6 less so.
2015-05-11 18:35:06 +01:00
David Wragg
df40c5b97e
Merge rade/643_eliminate_route_calculcation_deadlock (PR #644 )
...
eliminate route calculcation deadlock
Fixes #643 .
2015-05-11 17:57:53 +01:00
Matthias Radestock
e246e6acc6
coarser lock granularity
...
- get rid of individual Peer locks
- hold Peers read (or write) lock and LocalPeer read lock while
performing route calculations
This eliminates the deadlock resulting from the inconsistent lock
acquisition order in route calculcation.
Fixes #643 .
2015-05-11 17:19:54 +01:00
Matthias Radestock
5bd8730353
make Peer.Encode lock-free
2015-05-11 17:19:51 +01:00
Matthias Radestock
c210f0e3c1
make Peer.Info lock-free
2015-05-11 17:19:46 +01:00
Matthias Radestock
426d8edb31
remove Peer.SetVersionAndConnections
...
further shrinking Peer API
2015-05-11 17:19:43 +01:00
Matthias Radestock
86ba3be4f7
move Connections from Peer to LocalPeer
...
further shrinking the former's API
2015-05-11 17:19:38 +01:00
Matthias Radestock
5bf6889250
remove Peer.Version
...
further shrinking the Peer API
2015-05-11 17:19:35 +01:00
Matthias Radestock
0229185ffe
move ConnectionTo from Peer to LocalPeer
...
further shrinking the former's API
2015-05-11 17:19:31 +01:00
Matthias Radestock
505ced5cc8
move localRefCount accounting responsibility from Peer to Peers
...
This makes for a more symmetric API - Peers.FetchWithDefault does the
increment and Peers.Dereference does the decrement, whereas previously
the latter was done by Peer.DecrementLocalRefCount.
This does increase lock granularity, i.e. modifying any ref count now
requires a write lock on Peers.
2015-05-11 17:19:23 +01:00
Matthias Radestock
3e6eef5ebd
refactor(ish): move a bunch of methods from Peer to LocalPeer
...
in order to reduce the former's API surface
2015-05-11 17:19:15 +01:00
Paul Bellamy
8f1f6741e3
Merge pull request #642 from errordeveloper/post-docs-move
...
Fixes post #612
2015-05-11 17:02:35 +01:00
Matthias Radestock
52a89a318a
cosmetic: resolve yet more linter complaints
2015-05-11 02:44:15 +01:00
Matthias Radestock
b43a3e9ab2
cosmetic: resolve some more linter complaints
2015-05-11 02:37:59 +01:00
Matthias Radestock
4bef9d90fb
cosmetic: resolve some linter complaints
2015-05-11 02:33:56 +01:00
Matthias Radestock
e5a87d1ab1
cosmetic: resolve some linter complaints
2015-05-11 02:31:34 +01:00
Matthias Radestock
ef2c55141b
keep linter happy
2015-05-11 02:25:01 +01:00
Matthias Radestock
0cbbe9bac3
make Peer.String() return the common case
...
When we want a string representation of a Peer, we nearly always just
want the full name. So make String() return that and introduce Info()
to return expanded info.
2015-05-10 23:58:23 +01:00
Matthias Radestock
db198652a5
refactor: get rid of test-launch
2015-05-09 17:29:13 +01:00
Matthias Radestock
7b0f432339
cosmetic: fix typo
2015-05-09 17:11:52 +01:00
Matthias Radestock
5472d868aa
refactor
...
we don't need to extract the -nickname option since when the same
option is specified more than once, the last value wins
2015-05-08 18:28:22 +01:00
Matthias Radestock
5a3ff111ef
cosmetic
2015-05-08 18:24:43 +01:00
Ilya Dmitrichenko
35ca82dc0c
Use gsutil rsync
2015-05-08 16:44:40 +01:00
Ilya Dmitrichenko
86fdfef6f1
No redirect required for latest_release_doc_updates
2015-05-08 15:41:49 +01:00
Paul Bellamy
9c5323ee4f
Merge pull request #612 from errordeveloper/post-docs-move
...
Post docs move
2015-05-08 13:40:35 +01:00
Ilya Dmitrichenko
2daf805e95
Point to released docs for WeaveDNS
2015-05-08 11:16:35 +01:00
Paul Bellamy
5e5b3ba65e
Merge pull request #638 from weaveworks/circle
...
More CircleCI Improvements
2015-05-08 10:19:18 +01:00
Tom Wilkie
28a2c0d8a9
Parallelise integration tests.
2015-05-07 19:03:59 +00:00
Tom Wilkie
8d1b161d4f
Use circleci build number instead of git hash, as we can have multiple builds for a given hash.
2015-05-07 18:33:02 +00:00
Tom Wilkie
5094e84af3
Use gliderlabs/alpine over ubuntu in attempt to speed up tests.
2015-05-07 17:40:44 +00:00
Tom Wilkie
a5750dda2a
Tidy up try_connect function
2015-05-07 17:15:14 +00:00
Tom Wilkie
f9c43fecf4
Wait for VMs to come up before connecting
2015-05-07 17:00:36 +00:00
Paul Bellamy
93012a1cfd
Merge pull request #637 from weaveworks/circle
...
Improvements to circle ci integration
2015-05-07 17:32:53 +01:00
Tom Wilkie
5ed8ad46ee
Don't need gsutil on circle; use a prebuild weave-build image and cache it locally.
2015-05-07 16:23:08 +00:00
rade
5e5e932584
Merge pull request #627 from grkvlt/feature/add-dns-entry
...
add `weave dns-add/remove` commands
Closes #364 .
2015-05-07 13:05:45 +01:00
Tom Wilkie
26b6b743f5
Use a template with everything installed for GCE tests.
2015-05-07 11:15:13 +00:00
Andrew Kennedy
633d539b60
New commands to add and remove DNS entries
...
- Commands dns-add and dns-remove added to weave script
- Updated documentation for WeaveDNS
- Added test script for dns-add and dns-remove
- Added IP address functions matching existing CIDR ones
2015-05-07 12:13:59 +01:00
Tom Wilkie
432662bc86
Create multiple GCE VMs at a time.
2015-05-07 10:20:26 +00:00
Matthias Radestock
04ceb5620b
allow user to supply args to docker for remote execution
...
DOCKER_CLIENT_ARGS - for args to docker
WEAVEEXEC_DOCKER_ARGS - for extra args to `docker run`
Closes #626 .
2015-05-07 09:27:22 +01:00
Matthias Radestock
63829a07c5
fix typo
2015-05-06 23:35:32 +01:00