Uh oh!
There was an error while loading. Please reload this page.
cluster: alias suicide to exitedAfterDisconnect - #7998
Conversation
Actual code changes LGTM, but I don't think that there is any value in adding this without the documentation — that would still mean that users wouldn't be able rely on it in 4.x. I think that documentation should also be added, mentioning that this is an alias. |
9cab00e to
90de681Compareevanlucas
commented
Aug 6, 2016
Thanks @ChALkeR. Updated. |
evanlucas
commented
Aug 6, 2016
There was a problem hiding this comment.
This link doesn't seem to work. Perhaps the definition is missing (at the end of file)?
There was a problem hiding this comment.
yep, fixed, sorry about that
This is a backport of 4f619bd which migrates from worker.suicide to worker.exitedAfterDisconnect. Related: nodejs#3743
90de681 to
d101576CompareChALkeR
commented
Aug 8, 2016
LGTM. |
addaleax
commented
Aug 8, 2016
LGTM, CI is green |
jasnell
commented
Aug 8, 2016
LGTM |
jasnell
commented
Aug 9, 2016
@nodejs/lts WG ... any objections to this? |
MylesBorins
commented
Aug 9, 2016
lgtm On Tue, Aug 9, 2016, 3:25 PM James M Snell notifications@github.com wrote:
|
This is a backport of 4f619bd which migrates from worker.suicide to worker.exitedAfterDisconnect. Refs: #3743 PR-URL: #7998 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
jasnell
commented
Aug 12, 2016
Landed in v4.x-staging in 810f29f |
evanlucas
commented
Aug 12, 2016
Thanks @jasnell! |
sam-github
commented
Jun 14, 2017
@nodejs/lts this says it landed in v4.x-staging, but maybe it later got rebased out again? I can't find any sign of it, and I can't checkout 810f29f on my local repo, which makes it not reachable from any branches. |
MylesBorins
commented
Jun 15, 2017
@sam-github that seems like what happened We could modify it to be semver patch (reverse the alias) |
bnoordhuis
commented
Jun 15, 2017
For v4.x? That's rather stretching the credibility of semver and maintenance mode... |
As I said in nodejs/Release#231 (comment), I don't see how this lands as a patch, as it's a new property. However, I don't see the harm in including this in an upcoming 4.x release, it has the clear benefit of allowing people to write code that works on all supported releases (without deprecation warnings). The point of maintenance is that we don't land things unless we have a good reason, and I think we do here. I also don't understand the reasoning behind "no semver-minors in maintenance mode". Why is a |
bnoordhuis
commented
Jun 15, 2017
Because it's a slippery slope. If you accept this semver-minor change, how can you reasonably reject others? The point of maintenance mode is that you say: this is it, no more changes except critical bug fixes. |
gibfahn
commented
Jun 15, 2017
But what does that have to do with the semver-ness? We only include things that people request, and that the LTS team (and de facto collaborators in general) think are worth making an exception for. We reject most changes because there is no obvious need, whether it's a To be clear, I'm happy to debate whether this change should land, but I don't see why we (collaborators) or end users of node would care about whether it's a |
bnoordhuis
commented
Jun 15, 2017
Are we using the same definition of maintenance mode? To me, it means this:
The goal is to reduce the overall work load. If people want new features, they can upgrade. A semver-minor change is by definition not a bug fix, it's a new feature. If you want to land those in v4.x, fine, but you can't call it maintenance mode anymore - it's just another release line, with all the extra work and agony that entails. |
MylesBorins
commented
Jun 15, 2017
I've opened nodejs/Release#232 to move the v4.x conversation |
Checklist
make -j4 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
cluster
Description of change
This is a backport of 4f619bd which
migrates from worker.suicide to worker.exitedAfterDisconnect.
I did not add documentation as I wasn't sure if we wanted to document it or not.
Related: #3743