diff options
author | Siri Hansen <[email protected]> | 2018-09-10 11:39:28 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-09-10 11:39:28 +0200 |
commit | b641db169ac57ef98b6a5d0dd5672fe966d9997e (patch) | |
tree | 1771e97de61bc3b9bc4fba581c79885f9886e779 /lib | |
parent | 81d122a59e0f81e8cc71a0c8e0dae7ea05d15755 (diff) | |
parent | 4f11bb85a427d60ca55ffa63128f17b9dba98bd6 (diff) | |
download | otp-b641db169ac57ef98b6a5d0dd5672fe966d9997e.tar.gz otp-b641db169ac57ef98b6a5d0dd5672fe966d9997e.tar.bz2 otp-b641db169ac57ef98b6a5d0dd5672fe966d9997e.zip |
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sasl/test/sasl_report_SUITE.erl | 3 | ||||
-rw-r--r-- | lib/stdlib/doc/src/supervisor.xml | 12 |
2 files changed, 13 insertions, 2 deletions
diff --git a/lib/sasl/test/sasl_report_SUITE.erl b/lib/sasl/test/sasl_report_SUITE.erl index a03932133e..e639b55cee 100644 --- a/lib/sasl/test/sasl_report_SUITE.erl +++ b/lib/sasl/test/sasl_report_SUITE.erl @@ -106,6 +106,9 @@ gen_server_crash(Config, Encoding) -> ok = rpc:call(Node,?MODULE,crash_me,[]), + ok = rpc:call(Node,logger_std_h,filesync,[default]), + ok = rpc:call(Node,logger_std_h,filesync,[sasl]), + test_server:stop_node(Node), ok = logger:remove_primary_filter(no_remote), diff --git a/lib/stdlib/doc/src/supervisor.xml b/lib/stdlib/doc/src/supervisor.xml index 6d5065ca02..0e8075a578 100644 --- a/lib/stdlib/doc/src/supervisor.xml +++ b/lib/stdlib/doc/src/supervisor.xml @@ -208,8 +208,16 @@ child_spec() = #{id => child_id(), % mandatory the child process is unconditionally terminated using <c>exit(Child,kill)</c>.</p> <p>If the child process is another supervisor, the shutdown time - is to be set to <c>infinity</c> to give the subtree ample - time to shut down. It is also allowed to set it to <c>infinity</c>, + must be set to <c>infinity</c> to give the subtree ample + time to shut down.</p> + <warning> + <p>Setting the shutdown time to anything other + than <c>infinity</c> for a child of type <c>supervisor</c> + can cause a race condition where the child in question + unlinks its own children, but fails to terminate them + before it is killed.</p> + </warning> + <p>It is also allowed to set it to <c>infinity</c>, if the child process is a worker.</p> <warning> <p>Be careful when setting the shutdown time to |