Skip to content

Commit e6ba88e

Browse files
Update documentation
1 parent bd702cd commit e6ba88e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/Migrating-Configuration.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,20 @@ to be a configuration error, perhaps because the schema was changed. In such a c
1616
consult the [feature](Configuration.md#otp-features), [router](RouterConfiguration.md) or
1717
[build configuration documentation](BuildConfiguration.md) to find out what the new schema looks like.
1818

19+
By default, OTP starts up even when unknown configuration parameters have been found. This is there
20+
to support the style deployment where old config parameters remain in the file for a certain migration
21+
period.
22+
23+
This allows you to roll back the OTP version without the need to roll back the OTP configuration.
24+
25+
An example: you change the location of the graphs, a critical error occurs afterwards and you need to
26+
roll back. Any member of the dev-ops team should then be confident that they can roll back without
27+
risk - even if the environment changed.
28+
1929
### Aborting on invalid configuration
2030

21-
If you want OTP to abort the startup when encountering invalid configuration, you can add the flag
22-
`--configCheck` to your regular OTP CLI commands.
31+
If you want OTP to abort the startup when encountering unknown configuration parameters, you can add
32+
the flag `--configCheck` to your regular OTP CLI commands.
2333

2434
This should of course be used wisely as it can also accidentally make your production instances refuse
2535
to start up.

0 commit comments

Comments
 (0)