Project

General

Profile

Actions

Cleanup #16130

closed

Proxied operations shouldn't result in error messages if replayed

Added by Jason Dillaman almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
% Done:

0%

Tags:
Backport:
jewel
Reviewed:
Affected Versions:
Pull request ID:

Description

For example, if the "snap rename" operation is replayed, it's possible that the second SnapshotRenameRequest state machine will encounter '-EEXISTS' when testing for the destination. This should apply to snap create, snap rename, snap remove, snap protect, snap unprotect, and rename.

# rbd bench-write -p cephfs_data --image testing2 --io-size 10240 &
# for i in {1..100}; do rbd snap rename cephfs_data/testing2@snap$i cephfs_data/testing2@snappey$i; done
2016-05-30 08:52:11.847718 7f8329ffb700 -1 librbd::SnapshotRenameRequest: encountered error: (17) File exists
2016-05-30 08:52:12.293367 7f8329ffb700 -1 librbd::SnapshotRenameRequest: encountered error: (17) File exists
2016-05-30 08:52:13.731278 7f8329ffb700 -1 librbd::SnapshotRenameRequest: encountered error: (17) File exists
2016-05-30 08:52:16.385266 7f8329ffb700 -1 librbd::SnapshotRenameRequest: encountered error: (17) File exists
2016-05-30 08:52:20.514545 7f8329ffb700 -1 librbd::SnapshotRenameRequest: encountered error: (17) File exists
2016-05-30 08:52:24.469216 7f8329ffb700 -1 librbd::SnapshotRenameRequest: encountered error: (17) File exists

Related issues 1 (0 open1 closed)

Copied to rbd - Backport #17481: jewel: Proxied operations shouldn't result in error messages if replayedResolvedLoïc DacharyActions
Actions

Also available in: Atom PDF