|
145 | 145 | persistent_bytes, %% w unacked |
146 | 146 |
|
147 | 147 | ram_msg_count, %% w/o unacked |
148 | | - ram_msg_count_prev, |
149 | | - ram_ack_count_prev, |
150 | 148 | ram_bytes, %% w unacked |
151 | 149 | out_counter, |
152 | 150 | in_counter, |
|
171 | 169 | %% index/store keep track of confirms separately and |
172 | 170 | %% doing intersect/subtract/union we just put the messages |
173 | 171 | %% here and on sync move them to 'confirmed'. |
174 | | - %% |
175 | | - %% Note: This field used to be 'memory_reduction_run_count'. |
176 | 172 | unconfirmed_simple, |
177 | 173 | %% Queue data is grouped by VHost. We need to store it |
178 | 174 | %% to work with queue index. |
179 | | - virtual_host, |
180 | | - waiting_bump = false |
| 175 | + virtual_host |
181 | 176 | }). |
182 | 177 |
|
183 | 178 | -record(rates, { in, out, ack_in, ack_out, timestamp }). |
|
261 | 256 | persistent_bytes :: non_neg_integer(), |
262 | 257 |
|
263 | 258 | ram_msg_count :: non_neg_integer(), |
264 | | - ram_msg_count_prev :: non_neg_integer(), |
265 | | - ram_ack_count_prev :: non_neg_integer(), |
266 | 259 | ram_bytes :: non_neg_integer(), |
267 | 260 | out_counter :: non_neg_integer(), |
268 | 261 | in_counter :: non_neg_integer(), |
@@ -1022,8 +1015,6 @@ init(IsDurable, IndexState, StoreState, DiskCount, DiskBytes, Terms, |
1022 | 1015 | persistent_bytes = DiskBytes1, |
1023 | 1016 |
|
1024 | 1017 | ram_msg_count = 0, |
1025 | | - ram_msg_count_prev = 0, |
1026 | | - ram_ack_count_prev = 0, |
1027 | 1018 | ram_bytes = 0, |
1028 | 1019 | unacked_bytes = 0, |
1029 | 1020 | out_counter = 0, |
|
0 commit comments