Hi,
Looking into some an ensure we are occasionally seeing from Iris reporting blocked replication on the client side
ReplicationWriter::ProcessQueuedBatches: Replication is blocked for longer than normalThe timeout for this ensure is the default 30s but from the logs we’re seeing it emitted much sooner than that after the client joins. I notice that the timeout is based on
NewData->NextWarningTimeout = FPlatformTime::ToSeconds64(CurrentTime) + QueuedBatchTimeoutSeconds;but that’s checked against
const double CurrentTime = FPlatformTime::Seconds();
// Log a warning and tell the server about the blockage every X seconds (first after 30secs, again every 10secs after)
if (CurrentTime >= PendingBatchData->NextWarningTimeout)
and the two times can’t be directly compared since FPlatformTime::Seconds() adds a large offset on Windows. Seems like the calculated timeout check should be based on FPlatformTime::Seconds() too?
Alistair
[Attachment Removed]