Merge "Bug fix: call set_offsets before rd_auto_partition_range"