Feature #2665: More DB write checks for federation slaves