1. Put a newline at the end of the COPY ROW
2. Fix some issues with the wal record queue
maxip is NOT yet assigned in the snapshot