Project

General

Profile

Bug #5912

full stream can not be force-received into a dataset if it has a snapshot

Added by Andriy Gapon over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2015-05-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

A full stream can not be force-received into a dataset if it has a snapshot.
That behavior is not consistent with the case where the dataset has modifications but does not have any snapshots - in that case the local changes are undone.
The behavior is also inconsistent with force-receiving of an incremental stream - in that case any diverging snapshots are destroyed.

It would be logical if the reception of the full stream was equivalent to the reception of the incremental stream with a start at $ORIGIN@$ORIGIN.

History

#2

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 5bae108fe2364722de3aa86e04966a0d33fd027a

commit  5bae108fe2364722de3aa86e04966a0d33fd027a
Author: Andriy Gapon <avg@freebsd.org>
Date:   2015-05-27T14:14:23.000Z

    5912 full stream can not be force-received into a dataset if it has a snapshot
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Paul Dagnelie <pcd@delphix.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF