<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/test/simple/test-cluster-basic.js, branch move-debugger-tests</title>
<subtitle>github.com: joyent/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/'/>
<entry>
<title>cluster: Rename destroy() to kill(signal=SIGTERM)</title>
<updated>2013-03-04T01:26:38+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-03-03T23:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=e428bb7eaea14adc66374b704049c6e2123a9589'/>
<id>e428bb7eaea14adc66374b704049c6e2123a9589</id>
<content type='text'>
Fix #4133, bringing the cluster worker API more in line with the
child process API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix #4133, bringing the cluster worker API more in line with the
child process API.
</pre>
</div>
</content>
</entry>
<entry>
<title>net: fix listen() regression, revert patches</title>
<updated>2012-08-06T21:55:38+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2012-08-06T21:43:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=4c150ca0d0cc4bd8dc6d182e0bf850daf27a2422'/>
<id>4c150ca0d0cc4bd8dc6d182e0bf850daf27a2422</id>
<content type='text'>
This commit reverts the following commits (in reverse chronological order):

  74d076c errnoException must be done immediately
  ddb02b9 net: support Server.listen(Pipe)
  085a098 cluster: do not use internal server API
  d138875 net: lazy listen on handler

Commit d138875 introduced a backwards incompatible change that broke the
simple/test-net-socket-timeout and simple/test-net-lazy-listen tests - it
defers listening on the target port until the `net.Server` instance has at
least one 'connection' event listener.

The other patches had to be reverted in order to revert d138875.

Fixes #3832.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit reverts the following commits (in reverse chronological order):

  74d076c errnoException must be done immediately
  ddb02b9 net: support Server.listen(Pipe)
  085a098 cluster: do not use internal server API
  d138875 net: lazy listen on handler

Commit d138875 introduced a backwards incompatible change that broke the
simple/test-net-socket-timeout and simple/test-net-lazy-listen tests - it
defers listening on the target port until the `net.Server` instance has at
least one 'connection' event listener.

The other patches had to be reverted in order to revert d138875.

Fixes #3832.
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster: do not use internal server API</title>
<updated>2012-08-05T20:53:31+00:00</updated>
<author>
<name>Andreas Madsen</name>
<email>amwebdk@gmail.com</email>
</author>
<published>2012-07-14T07:38:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=085a09874b03a1e5401d911ef61e9451b6ea3b30'/>
<id>085a09874b03a1e5401d911ef61e9451b6ea3b30</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster: rename worker.unqiueID to worker.id</title>
<updated>2012-06-14T16:32:56+00:00</updated>
<author>
<name>Andreas Madsen</name>
<email>amwebdk@gmail.com</email>
</author>
<published>2012-05-30T18:32:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=c2c08196d80d6034ca63866249e6a6d4b88650ca'/>
<id>c2c08196d80d6034ca63866249e6a6d4b88650ca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #3388 Support listening on file descriptors</title>
<updated>2012-06-13T19:24:45+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2012-06-12T17:02:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=e733dc3bc3bcc876a29f2b78c5a29bae9dedb0c3'/>
<id>e733dc3bc3bcc876a29f2b78c5a29bae9dedb0c3</id>
<content type='text'>
This implements server.listen({ fd: &lt;filedescriptor&gt; }).  The fd should
refer to an underlying resource that is already bound and listening, and
causes the new server to also accept connections on it.

Not supported on Windows.  Raises ENOTSUP.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements server.listen({ fd: &lt;filedescriptor&gt; }).  The fd should
refer to an underlying resource that is already bound and listening, and
causes the new server to also accept connections on it.

Not supported on Windows.  Raises ENOTSUP.
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster: remove NODE_UNIQUE_ID from env on startup</title>
<updated>2012-05-21T21:27:44+00:00</updated>
<author>
<name>Andreas Madsen</name>
<email>amwebdk@gmail.com</email>
</author>
<published>2012-05-20T13:57:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=81a4edcf6afc1180b80a516db894db400ce04b1a'/>
<id>81a4edcf6afc1180b80a516db894db400ce04b1a</id>
<content type='text'>
In case a worker would spawn a new subprocess with process.env, NODE_UNIQUE_ID
would have been a part of the env. Making the new subprocess believe it is a
worker, this would result in some confusion if the subprocess where to listen to
a port, since the server handle request would then be relayed to the worker.

This patch removes the NODE_UNIQUE_ID flag from process.env on startup so any
subprocess spawned by a worker is a normal process with no cluster stuff.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case a worker would spawn a new subprocess with process.env, NODE_UNIQUE_ID
would have been a part of the env. Making the new subprocess believe it is a
worker, this would result in some confusion if the subprocess where to listen to
a port, since the server handle request would then be relayed to the worker.

This patch removes the NODE_UNIQUE_ID flag from process.env on startup so any
subprocess spawned by a worker is a normal process with no cluster stuff.
</pre>
</div>
</content>
</entry>
<entry>
<title>More cluster event consistency</title>
<updated>2012-05-05T22:20:10+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2012-05-05T22:07:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=3d84c3db257dfa1b92476cc6a50abf9c6e4b0583'/>
<id>3d84c3db257dfa1b92476cc6a50abf9c6e4b0583</id>
<content type='text'>
Regarding discussion in #3198.  Passing the worker as an argument
to an event emitted on the worker is redundant, and an unnecessary
break in consistency vs the events on the ChildProcess objects.

It was removed from 'exit', but 'listening' and others were
overlooked.  This corrects that oversight.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regarding discussion in #3198.  Passing the worker as an argument
to an event emitted on the worker is redundant, and an unnecessary
break in consistency vs the events on the ChildProcess objects.

It was removed from 'exit', but 'listening' and others were
overlooked.  This corrects that oversight.
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster: worker exit event to match child_process</title>
<updated>2012-05-05T00:28:21+00:00</updated>
<author>
<name>J. Lee Coltrane</name>
<email>lee@projectmastermind.com</email>
</author>
<published>2012-05-02T16:38:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=a62dd44b20196d38d5c60840ef823615941a6f13'/>
<id>a62dd44b20196d38d5c60840ef823615941a6f13</id>
<content type='text'>
test: fixes due to new cluster api.

- changed worker `death` to `exit`.
- corrected argument type expected by worker `exit` handler.

test: more tests of cluster.worker death

cluster: fixed arguments on worker 'exit' event

worker 'exit' event now emits arguments consistent with the
corresponding event in child_process module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test: fixes due to new cluster api.

- changed worker `death` to `exit`.
- corrected argument type expected by worker `exit` handler.

test: more tests of cluster.worker death

cluster: fixed arguments on worker 'exit' event

worker 'exit' event now emits arguments consistent with the
corresponding event in child_process module.
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster: Rename 'death' back to 'exit'</title>
<updated>2012-03-30T19:59:24+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2012-03-30T19:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=90ce5b3d41a01bfd5793d1d634318fe607fa533c'/>
<id>90ce5b3d41a01bfd5793d1d634318fe607fa533c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster improvements: Worker class and isolate internal messages</title>
<updated>2012-01-05T02:30:19+00:00</updated>
<author>
<name>Andreas Madsen</name>
<email>amwebdk@gmail.com</email>
</author>
<published>2011-12-20T09:42:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=5f08c3cfa1ee3ece6032d1ffeda6f403e54dd5c0'/>
<id>5f08c3cfa1ee3ece6032d1ffeda6f403e54dd5c0</id>
<content type='text'>
Fixes #2388
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2388
</pre>
</div>
</content>
</entry>
</feed>
