We had an issue in our server, there were some dataraces. After an investigation we've detected that when we were posting inside a strand, we were using the
get_inner_executor() method from the strand, and this resulted in posting the handler to the
io_context that was used when creating the strand, it wasn't used the strand, which meant no serialization.
An example of code can be found below.