| 377 | } |
| 378 | |
| 379 | void clusterSaveConfigOrDie(int do_fsync) { |
| 380 | if (clusterSaveConfig(do_fsync) == -1) { |
| 381 | serverLog(LL_WARNING,"Fatal: can't update cluster config file."); |
| 382 | exit(1); |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | /* Lock the cluster config using flock(), and leaks the file descriptor used to |
| 387 | * acquire the lock so that the file will be locked forever. |
no test coverage detected