Return if child type is mutual exclusive with other fork children */
| 1749 | |
| 1750 | /* Return if child type is mutual exclusive with other fork children */ |
| 1751 | int isMutuallyExclusiveChildType(int type) { |
| 1752 | return type == CHILD_TYPE_RDB || type == CHILD_TYPE_AOF || type == CHILD_TYPE_MODULE; |
| 1753 | } |
| 1754 | |
| 1755 | /* Return true if this instance has persistence completely turned off: |
| 1756 | * both RDB and AOF are disabled. */ |