Commit 09db0ce
Refactor
* Refactor deployment pause and resume logic
* Refactor pause_and_resume to use DeploymentLocator, Add cloning functionality to the Context struct,
* Update node/src/manager/commands/rewind.rs
Co-authored-by: Krishnanand V P <[email protected]>
* Update node/src/bin/manager.rs
Co-authored-by: Krishnanand V P <[email protected]>
* Update node/src/bin/manager.rs
Co-authored-by: Krishnanand V P <[email protected]>
* Refactor cloning and pausing logic in manager.rs and rewind.rs
* Refactor code to use mutable connection in assign.rs and remove unused constant in rewind.rs
* removing cloning in manager.rs
* minor refactoring
* node: throw an error when a deployment search matches more than one in rewind
---------
Co-authored-by: Krishnanand V P <[email protected]>
Co-authored-by: incrypto32 <[email protected]>graphman rewind to use pause and resume logic (#5213)1 parent ec176b4 commit 09db0ce
3 files changed
+46
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1180 | 1182 | | |
| 1183 | + | |
1181 | 1184 | | |
1182 | 1185 | | |
1183 | | - | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
1184 | 1190 | | |
1185 | 1191 | | |
1186 | 1192 | | |
1187 | | - | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
1188 | 1197 | | |
1189 | 1198 | | |
1190 | 1199 | | |
| |||
1194 | 1203 | | |
1195 | 1204 | | |
1196 | 1205 | | |
| 1206 | + | |
1197 | 1207 | | |
| 1208 | + | |
1198 | 1209 | | |
1199 | 1210 | | |
1200 | 1211 | | |
1201 | 1212 | | |
1202 | 1213 | | |
1203 | 1214 | | |
| 1215 | + | |
1204 | 1216 | | |
1205 | 1217 | | |
1206 | 1218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
82 | | - | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
| |||
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
118 | | - | |
| 117 | + | |
119 | 118 | | |
120 | 119 | | |
121 | | - | |
| 120 | + | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
129 | 128 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
| 10 | + | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
69 | | - | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | | - | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| |||
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
107 | | - | |
108 | 112 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 113 | + | |
119 | 114 | | |
120 | 115 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
130 | 123 | | |
131 | 124 | | |
132 | 125 | | |
| |||
158 | 151 | | |
159 | 152 | | |
160 | 153 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 154 | + | |
166 | 155 | | |
167 | 156 | | |
168 | 157 | | |
0 commit comments