Commit 66a7d11
authored
[fix](fe) modify tablet cooldownConfLock to reduce memory (#59356)
### What problem does this PR solve?
the usage of `cooldownConfLock` is simple, does not need
ReentrantReadWriteLock because it cost too much memory, especially when
a cluster has many tablets.
before:
<img width="1280" height="575" alt="1"
src="https://github.com/user-attachments/assets/df626e1e-84ef-4078-8da7-d857ac960678"
/>
after:
<img width="1280" height="510" alt="2"
src="https://github.com/user-attachments/assets/3fee7407-0743-4d07-9462-a9f0e101765f"
/>1 parent 1f6d752 commit 66a7d11
File tree
1 file changed
+6
-10
lines changed- fe/fe-core/src/main/java/org/apache/doris/catalog
1 file changed
+6
-10
lines changedLines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
126 | | - | |
| 125 | + | |
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
| |||
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
191 | 190 | | |
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
198 | | - | |
199 | | - | |
| 197 | + | |
200 | 198 | | |
201 | | - | |
202 | | - | |
203 | 199 | | |
204 | 200 | | |
205 | 201 | | |
| |||
0 commit comments