Project

General

Profile

Feature #17362

Updated by Josh Durgin over 7 years ago

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.

Back