With current design, when the file system (FS) is neither available nor responsive, CCB apply on IMM OM side likely get SA_AIS_ERR_TIMEOUT error code as osafpbed may be stuck at the activity of writing to sqlite3 database and therefore is not able to respond to IMM in time.
With this ticket, we propose to introduce 02 new admin operations (set/clear) towards IMM; using these operations to inform IMM if the file system is unavailable or in healthy state. Based on that data, IMM will reject the write request earlier with error code SA_AIS_ERR_TRY_AGAIN if the file system is unavailable.
Besides, a runtime attribute saImmFileSystemStatus
is added and owned by IMM to show the status of underlying file system.
Diff:
Diff:
Diff:
Diff:
https://sourceforge.net/p/opensaf/mailman/message/36622696/
commit ecbdd454813cb2e5994143aa202535374d119392 (HEAD -> develop, origin/develop, ticket-3019)
Author: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
Date: Thu Apr 11 15:13:50 2019 +0700