Incomplete History because exceed length

I got this error on my temporal log.

Incomplete history: expected events [1-342] but got events [1-335] of length 335: isFirstPage=true,isLastPage=true,pageSize=256

I was looking for some references and it said that possibility because it is forced to show event list in one page (isFirstPage = true & isLastPage = true).
I wonder if this error was issue or just log? and how to solved it?

This sounds like DB issue. Is your DB replicated?

Yes. is it causing the issue?

Temporal expects strong read-after-write consistency from the DB. Most DBs don’t provide such consistency during failover and are incompatible with Temporal.

is there any approach I could take to handle this issue? I think it’s not possible to remove DB replication from the architecture

Switch to DB, which provides read-after-write consistency in case of failover.

1 Like