Dr. Stefan Schimanski
e98c8e7685
Fix deadlocks and race conditions in mesos master election notifier
...
- n.node used the n.lock as underlaying locker. The service loop initially
locked it, the Notify function tried to lock it before calling n.node.Signal,
leading to a dead-lock.
- the go routine calling ChangeMaster was not synchronized with the Notify
method. The former was triggering change events that the later never saw
when the former's startup was faster that of Notify. Hence, not even a single
event was noticed and not even a single start/stop call of the slow service
was triggered.
This patch replaces the n.node condition object with a simple channel n.changed.
The service loop watches it.
Updating the notified private variables is still protected with n.lock against
races, but independently of the n.changed channel. Hence, the deadlock is gone.
Moreover, the startup of the Notify loop is synchronized with the go routine which
changes the master. Hence, the Notify loop will see the master changes.
Fixes #10776
2015-07-15 21:45:53 +02:00
Tim Hockin
c6161824db
Merge pull request #11205 from bgrant0607/bugfix1
...
Add remaining sections to the "pods in production" part of the user guide
2015-07-13 22:41:27 -07:00
Brian Grant
6ab8556c24
Add remaining sections to the "pods in production" part of the user guide.
2015-07-14 04:58:40 +00:00
Tim Hockin
c8dab21835
Merge pull request #11202 from brendandburns/tunnel
...
Update etcd and add a warning about Docker 1.7.0
2015-07-13 21:50:44 -07:00
Brendan Burns
ab4448a0d6
Update multi-node docker instructions:
...
* Update etcd and add a warning about Docker 1.7.0
* Update kubernetes to 0.21.2, Flannel to 0.5.0
* Remove --sync-nodes which is removed.
2015-07-13 21:28:07 -07:00
Tim Hockin
ab0d97e48a
Merge pull request #11013 from lavalamp/docs
...
Move admin related docs into docs/admin
2015-07-13 20:25:44 -07:00
Tim Hockin
51e601ce2d
Merge pull request #11107 from pires/fix_hazelcast_example
...
Fixed Hazelcast example.
2015-07-13 20:18:12 -07:00
Daniel Smith
b1555956e9
standardize on - instead of _ in file names
2015-07-13 18:32:00 -07:00
Daniel Smith
2c333e4bc2
move admin related docs into docs/admin
2015-07-13 18:24:11 -07:00
Paulo Pires
3f42ac65dd
Fixed Hazelcast example documentation relative links.
2015-07-13 21:17:47 -04:00
Tim Hockin
bdbcbe2e2f
Merge pull request #11085 from lavalamp/munger
...
Munger
2015-07-13 18:11:49 -07:00
Daniel Smith
0dd130ea18
remove old warning
2015-07-13 17:48:40 -07:00
Daniel Smith
821e08fded
Apply mungedocs changes
2015-07-13 17:48:40 -07:00
Daniel Smith
1263a30644
fix broken example links
2015-07-13 17:47:48 -07:00
Daniel Smith
ffcc6cadb0
run munger over examples dir
2015-07-13 17:47:48 -07:00
Daniel Smith
bf77ecc3a9
Various munger changes
...
* Add analytics munger w/ munge heading
* More link autofixes
* Allow running a subset of munges
* Fix repo root detection
* Only process non-preformatted blocks
* Gendocs no longer adds the analytics link; mungedocs does that in a
second pass.
2015-07-13 17:47:48 -07:00
Tim Hockin
a41f508451
Merge pull request #11198 from thockin/fix-services-sh-e2e
...
Don't use a shell array where not needed
2015-07-13 17:40:26 -07:00
Tim Hockin
65939cc953
Merge pull request #10855 from thockin/docs-debug-svcs
...
Add a doc on debugging services
2015-07-13 17:35:20 -07:00
Tim Hockin
957514d932
Don't use a shell array where not needed
2015-07-13 17:17:51 -07:00
Tim Hockin
f82d30340f
Merge pull request #11162 from erictune/toc
...
Improve table of contents generation.
2015-07-13 17:08:33 -07:00
Tim Hockin
a7364c08b0
Merge pull request #10994 from erictune/conformance_master
...
Conformance test update
2015-07-13 17:04:47 -07:00
Tim Hockin
69b5b2c2aa
Merge pull request #11142 from mwielgus/kubectl_e2e_patch
...
E2E tests for kubectl logs and patch
2015-07-13 17:04:20 -07:00
Tim Hockin
ecf44efa6b
Add a doc on debugging services
2015-07-13 16:42:54 -07:00
Tim Hockin
60aa763789
Merge pull request #11182 from dchen1107/doc
...
Fix table in getting-started-guides README.md
2015-07-13 16:33:18 -07:00
Tim Hockin
c377e59eed
Merge pull request #11193 from brendandburns/tunnel
...
Update single node docker guide to v0.21.2
2015-07-13 16:24:30 -07:00
Tim Hockin
32699e873a
Merge pull request #10804 from saad-ali/clusterScaleDoc
...
Add documentation for creating large kubernetes clusters
2015-07-13 16:19:42 -07:00
Tim Hockin
7c3fadd1eb
Merge pull request #11187 from mikedanese/mac-realpath
...
fake realpath, and standardize treatment of trailing / of dirs in gendoc
2015-07-13 16:16:05 -07:00
Tim Hockin
39d16d2ce6
Merge pull request #11130 from thockin/docs-minion
...
Change 'minion' to 'node' in docs
2015-07-13 16:15:51 -07:00
Brendan Burns
b0fd214836
Update docker guide to v0.21.2
2015-07-13 16:13:30 -07:00
Tim Hockin
5cf5445d24
Change 'minion' to 'node' in docs
2015-07-13 15:59:30 -07:00
Eric Tune
2ac3575e45
Rerun gendocs.
2015-07-13 15:57:31 -07:00
Eric Tune
921619ab38
Add ToC to some longer documents.
2015-07-13 15:53:06 -07:00
Eric Tune
ee8513f1bb
Add a table of contents to one doc.
...
Also removed manually created bookmark anchors
and fixedup links to use automatic bookmarks.
2015-07-13 15:53:06 -07:00
Eric Tune
950b11f198
Ignore comments in code when generating ToC.
2015-07-13 15:53:05 -07:00
Tim Hockin
ce25e164e7
Merge pull request #11128 from justinsb/e2e_pd_contents
...
e2e: Add test to pd that disk contents are preserved
2015-07-13 15:45:02 -07:00
Mike Danese
055115a109
fake realpath, and standardize treatment of trailing / of dirs in gendoc
2015-07-13 15:27:33 -07:00
Tim Hockin
832382bc05
Merge pull request #11179 from bgrant0607/bugfix1
...
Swap order of service and rc, and explain why.
2015-07-13 14:51:57 -07:00
Tim Hockin
e71b6f90de
Merge pull request #11150 from bprashanth/scheduler_race
...
Fix scheduler race
2015-07-13 14:47:14 -07:00
Dawn Chen
fccc3095e2
Fix table in getting-started-guides README.md
2015-07-13 14:26:36 -07:00
Dawn Chen
f635c9984c
Merge pull request #11180 from mikedanese/footnote-fix
...
fix merge conflict and footnote problem
2015-07-13 14:24:09 -07:00
Mike Danese
34aa20ddb3
fix merge conflict and footnote problem
2015-07-13 14:03:07 -07:00
Brian Grant
a01fbb9d37
Swap order of service and rc, and explain why.
2015-07-13 20:48:26 +00:00
Tim Hockin
e7b79b16dd
Merge pull request #11174 from mikedanese/munge
...
fix mungedocs that is break verify on master
2015-07-13 13:43:42 -07:00
Mike Danese
2325364339
fix
2015-07-13 13:40:48 -07:00
Mike Danese
dd538ad579
fix mungedocs that is break verify on master
2015-07-13 13:39:56 -07:00
Tim Hockin
8bb5c5060c
Merge pull request #10843 from jiangyaoguo/change-get-minions-in-docs
...
change "get minions" to "get nodes" in docs
2015-07-13 13:27:56 -07:00
Tim Hockin
0e59dfabd0
Merge pull request #11170 from mikedanese/kubectl-move
...
move kubectl generated man docs to docs/user-guide/kubectl
2015-07-13 13:22:21 -07:00
Tim Hockin
40b25e0f12
Merge pull request #11099 from zmerlynn/fix-patch-version-instructions
...
Fix patch release instructions
2015-07-13 13:08:53 -07:00
Tim Hockin
2b103c6df5
Merge pull request #11169 from vsimon/vsimon-patch-1
...
Fix scp of .dockercfg for-loop command
2015-07-13 13:07:42 -07:00
Tim Hockin
7463f86c3e
Merge pull request #11120 from jason-riddle/vagrant-docs
...
Add KUBE_RELEASE_RUN_TESTS=n to suggestion
2015-07-13 13:06:48 -07:00