Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / doc / killpoints.txt
1 Kill arguments in code:
2 mds_kill_mdstable_at
3 mds_kill_export_at
4 mds_kill_import_at
5
6 mds_kill_mdstable_at:
7 1: (Server) After receiving MMDStableRequest
8 2: (Server) After logging request, before sending reply to client
9 3: (Client) After receiving Agree from Server
10 4: (Client) Prior to sending Commit to server, but after making local change
11 5: (Server) After receiving commit message from client (before doing so)
12 6: (Server) After logging commit, before sending Ack
13 7: (Client) After receiving commit Ack from server
14 8: (Client) After logging Ack from server
15
16 mds_kill_export_at:
17 1: After moving to STATE_EXPORTING
18 2: After sending MExportDirDiscover
19 3: After recieving MExportDirDiscoverAck and auth_unpin'ing.
20 4: After sending MExportDirPrep
21 5: After receiving MExportDirPrepAck
22 6: After sending out MExportDirNotify to all replicas
23 7: After switching to state EXPORT_EXPORTING
24    (all replicas have acked ExportDirNotify)
25 8: After sending MExportDir to recipient
26 9: After receipt of MExportAck (new state: EXPORT_LOGGINGFINISH)
27 10: After logging EExport to journal
28 11: After sending out MExportDirNotify (new state: EXPORT_NOTIFYING)
29 12: After receiving MExportDirNotifyAck from all bystanders
30 13: After sending MExportDirFinish to importer
31
32 mds_kill_import_at:
33 1: After moving to IMPORT_DISCOVERING
34 2: After moving to IMPORT_DISCOVERED and sending MExportDirDiscoverAck
35 3: After moving to IMPORT_PREPPING.
36 4: After moving to IMPORT_PREPPED and sending MExportDirPrepAck
37 5: After receiving MExportDir message
38 6: After moving to IMPORT_LOGGINGSTART and writing EImportStart
39 7: After moving to IMPORT_ACKING.
40 8: After sending out MExportDirAck
41 9: After logging EImportFinish
42 10: After entering IMPORT_ABORTING.