Commit a004643
chore: keep session pool ordering when pinging (#2695)
* chore: keep session pool ordering when pinging
Pinging sessions would move the sessions that were pinged to either the
front or the back of the pool (dependingin the session pool
configuration), instead of keeping the sessions in the place where they
were when being pinged. Bringing a session that is pinged to the front
of the pool means that we will prefer using a session that has not
really been used for a while, other than for the ping. Keeping the
sessions in place is therefore preferable.
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent f4efd7a commit a004643
File tree
2 files changed
+46
-21
lines changed- google-cloud-spanner/src
- main/java/com/google/cloud/spanner
- test/java/com/google/cloud/spanner
2 files changed
+46
-21
lines changedLines changed: 27 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
1854 | 1855 | | |
1855 | 1856 | | |
1856 | 1857 | | |
1857 | | - | |
| 1858 | + | |
1858 | 1859 | | |
1859 | 1860 | | |
1860 | 1861 | | |
1861 | 1862 | | |
1862 | 1863 | | |
1863 | 1864 | | |
1864 | 1865 | | |
1865 | | - | |
| 1866 | + | |
1866 | 1867 | | |
1867 | | - | |
1868 | | - | |
| 1868 | + | |
| 1869 | + | |
1869 | 1870 | | |
1870 | 1871 | | |
1871 | 1872 | | |
| |||
2314 | 2315 | | |
2315 | 2316 | | |
2316 | 2317 | | |
2317 | | - | |
| 2318 | + | |
2318 | 2319 | | |
2319 | | - | |
| 2320 | + | |
2320 | 2321 | | |
2321 | | - | |
| 2322 | + | |
2322 | 2323 | | |
2323 | 2324 | | |
2324 | 2325 | | |
| |||
2342 | 2343 | | |
2343 | 2344 | | |
2344 | 2345 | | |
2345 | | - | |
| 2346 | + | |
2346 | 2347 | | |
2347 | 2348 | | |
2348 | 2349 | | |
| |||
2352 | 2353 | | |
2353 | 2354 | | |
2354 | 2355 | | |
2355 | | - | |
| 2356 | + | |
2356 | 2357 | | |
2357 | 2358 | | |
2358 | 2359 | | |
| |||
2476 | 2477 | | |
2477 | 2478 | | |
2478 | 2479 | | |
2479 | | - | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
2480 | 2484 | | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
2481 | 2491 | | |
2482 | 2492 | | |
2483 | 2493 | | |
| |||
2497 | 2507 | | |
2498 | 2508 | | |
2499 | 2509 | | |
2500 | | - | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
2501 | 2516 | | |
2502 | 2517 | | |
2503 | 2518 | | |
| |||
2510 | 2525 | | |
2511 | 2526 | | |
2512 | 2527 | | |
| 2528 | + | |
2513 | 2529 | | |
2514 | 2530 | | |
2515 | 2531 | | |
| |||
Lines changed: 19 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
186 | 193 | | |
187 | 194 | | |
188 | 195 | | |
| |||
192 | 199 | | |
193 | 200 | | |
194 | 201 | | |
195 | | - | |
| 202 | + | |
| 203 | + | |
196 | 204 | | |
197 | 205 | | |
198 | 206 | | |
199 | 207 | | |
200 | 208 | | |
| 209 | + | |
201 | 210 | | |
202 | 211 | | |
203 | 212 | | |
204 | | - | |
| 213 | + | |
205 | 214 | | |
206 | 215 | | |
207 | 216 | | |
| |||
267 | 276 | | |
268 | 277 | | |
269 | 278 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
274 | 283 | | |
275 | 284 | | |
276 | 285 | | |
| |||
0 commit comments