Chunk server: record append state machine: do not attempt to flush data in the case after re-lock in the case if the state is not open. With client threads it is possible that prior append completion changed the append state machine state, and/or discarded pending data. An attempt to re-calculate flush limit with incorrect delta, before flushing, will result in incorrect pending append total calculation,   resulting in [non immediate in the worst case] assertion failure.