remove some codes for scheduling
[IRC.git] / Robust / src / Runtime / DSTM / docs / messages
1 control = 1 byte, number of objects = 2 bytes
2
3 Client messages:
4 <READ_REQUEST      - control, oid
5 <READ_MULT_REQUEST - control, number of objects, oids
6 <MOVE_REQUEST      - control, oid
7 <MOVE_MULT_REQUEST - control, number of objects, oids
8 <TRANS_REQUEST     - control, tid, number of machines, number of objects read, number of objects modified, total bytes of modified objects (headers+bytes), list mid's, <oid, version> tuples for read objects, modified objects
9 <TRANS_ABORT       - control
10 <TRANS_COMMIT      - control
11
12 Server messages:
13 >OBJECT_FOUND      - control, sizeof object, object
14 >OBJECT_NOT_FOUND  - control
15 >OBJECTS_FOUND     - control, number of objects, objects
16 >OBJECTS_NOT_FOUND - control, number of objects, oids
17 >TRANS_AGREE       - control
18 >TRANS_DISAGREE    - control
19 >TRANS_AGREE_BUT_MISSING_OBJECTS - control, number of objects, objects
20 >TRANS_SOFT_ABORT  - control, control bit identifying is missing objects present of not, number of objects, objects
21 >TRANS_SUCCESSFUL  - control
22
23 possible conversations (conversation means a tcp connection is maintained throughout):
24
25 <READ_REQUEST
26 >OBJECT_FOUND
27
28 <READ_REQUEST
29 >OBJECT_NOT_FOUND
30
31 <READ_MULT_REQUEST
32 >OBJECTS_FOUND
33
34 <READ_MULT_REQUEST
35 >OBJECTS_NOT_FOUND
36
37 (some objects found, others not)
38 <READ_MULT_REQUEST
39 >OBJECTS_NOT_FOUND
40 >OBJECTS_FOUND
41
42 <MOVE_REQUEST
43 >OBJECT_FOUND
44
45 <MOVE_REQUEST
46 >OBJECT_NOT_FOUND
47
48 <MOVE_MULT_REQUEST
49 >OBJECTS_FOUND
50
51 <MOVE_MULT_REQUEST
52 >OBJECTS_NOT_FOUND
53
54 (some objects found, others not)
55 <MOVE_MULT_REQUEST
56 >OBJECTS_NOT_FOUND
57 >OBJECTS_FOUND
58
59 <TRANS_REQUEST
60 >TRANS_DISAGREE
61 <TRANS_ABORT
62
63 (another host disagreed or failed to respond)
64 <TRANS_REQUEST
65 >TRANS_AGREE
66 <TRANS_ABORT
67
68 <TRANS_REQUEST
69 >TRANS_AGREE
70 <TRANS_COMMIT
71 >TRANS_SUCCESSFUL
72