- * Rotation is pending between the time it starts until the consumer has
- * finished extracting the data. If the session uses a relay, data related
- * to a rotation can still be in flight after that, see
- * rotate_pending_relay.
- */
- bool rotate_pending;
- /*
- * True until the relay has finished the rotation of all the streams.
+ * Rotation is considered pending between the time it is launched up
+ * until the moment when the data has been writen at the destination
+ * and the trace archive has been renamed.
+ *
+ * When tracing locally, only 'rotation_pending_local' is used since
+ * no remote checks are needed. However, when tracing to a relay daemon,
+ * a second check is needed to ensure that the data has been
+ * commited at the remote destination.