Yes -- in other words, each chunk sets the value for its own statistics, and the lsm_generation_max field is flagged with "max_aggregate" in the aggregation code, so when stats are aggregated, the maximum value is taken from all the aggregated structures.

That seems right to me, let me know if there's a different way that would be simpler or clearer.