ahrens commented on this pull request.


> @@ -2206,6 +2215,9 @@ receive_write(struct receive_writer_arg *rwa, struct 
> drr_write *drrw,
        rwa->last_object = drrw->drr_object;
        rwa->last_offset = drrw->drr_offset;
 
+       if (rwa->last_object > rwa->max_object)
+               rwa->max_object = rwa->last_object;

I think we would always see the OBJECT record before WRITE* records, even when 
resuming.  But I guess it's fine to check this here too.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/631#pullrequestreview-114886817
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/discussions/T77378623c4494e13-M56ef33e66149950bceca7408
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to