Project

General

Profile

Actions

Feature #17362

closed

librados: let client specify watch timeout

Added by Josh Durgin over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently the watch timeout is set directly by the osd. Clients like rbd (especially for iscsi) may want to customize the watch and notify timeout independent of OSD settings.

This likely means adding the timeout field to the on-wire format messages/MWatchNotify.h, and plumbing it through the Objecter and librados on the client side, and the OSD and [Replicated]PG on the server side.

At the librados api level, we'll probably want rados_watch3 and rados_notify3 functions that would take the timeout as another parameter.

Actions #1

Updated by Josh Durgin over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Josh Durgin over 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF