Commit 6bb5195
authored
chore: non preemptive ProtocolClient destructor (#5927)
* remove preemption from ~ProtocolClient
* fix rare race condition last_io_time_ by making it atomic
* always dispatch in socket thread for Replica::GetSummary()
Signed-off-by: kostas <[email protected]>1 parent ad0684b commit 6bb5195
File tree
4 files changed
+12
-26
lines changed- src/server
- cluster
4 files changed
+12
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
313 | 315 | | |
314 | 316 | | |
315 | 317 | | |
| 318 | + | |
316 | 319 | | |
317 | 320 | | |
318 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 122 | | |
130 | 123 | | |
131 | 124 | | |
| |||
235 | 228 | | |
236 | 229 | | |
237 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
238 | 234 | | |
239 | 235 | | |
240 | 236 | | |
| |||
385 | 381 | | |
386 | 382 | | |
387 | 383 | | |
388 | | - | |
| 384 | + | |
389 | 385 | | |
390 | 386 | | |
391 | 387 | | |
392 | | - | |
| 388 | + | |
393 | 389 | | |
394 | 390 | | |
395 | 391 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
1212 | 1213 | | |
1213 | 1214 | | |
1214 | 1215 | | |
1215 | | - | |
1216 | | - | |
1217 | | - | |
| 1216 | + | |
1218 | 1217 | | |
1219 | 1218 | | |
1220 | 1219 | | |
| |||
1246 | 1245 | | |
1247 | 1246 | | |
1248 | 1247 | | |
1249 | | - | |
1250 | | - | |
1251 | | - | |
1252 | | - | |
1253 | | - | |
1254 | | - | |
1255 | | - | |
1256 | | - | |
1257 | | - | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
| 1248 | + | |
1262 | 1249 | | |
1263 | 1250 | | |
1264 | 1251 | | |
| |||
0 commit comments