forked from ceph/python-crush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
457 lines (391 loc) · 11.5 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
CHANGES
=======
1.0.35
------
* version 1.0.35
* add pre/post sanity checks for arguments
* compare: use Analyze.get\_parser\_base
* analyze: split get\_parser
* optimize: fix typo in option description
* ceph: convert needs --pool
* bump 1.0.35
1.0.34
------
* version 1.0.34
* compare: replace objects with configurable name
* ceph: --pool can disambiguate multiple pools in reports
* compare: handle backward compatible choose\_args
* analyze: error if the failure domain is bad
* bump 1.0.34
1.0.33
------
* version 1.0.33
* ceph: verify hammer compatibility
* ceph: always write all tunables
* ceph: --choose-args defaults to "0" if not a report
* ceph: support analyze --choose-args when not a report
* ceph: keep children = [] in buckets
* ceph: store version as a letter
* bump 1.0.33
1.0.32
------
* version 1.0.32
* analyze: Q16.16 are difficult to read
* bump 1.0.32
1.0.31
------
* version 1.0.31
* ceph: preserve rules ordering
* ceph: checking bad mapping needs original weights
* bump 1.0.31
1.0.30
------
* version 1.0.30
* optimize: testing the probability bias is long
* ceph: document add/remove OSD in the cookbook
* ceph: handle pre-Luminous item add/remove
* ceph: fix consistency of choose\_args in pre-Luminous
* optimize: test a single step
* bump 1.0.30
1.0.29
------
* version 1.0.29
* s/used/filled/
* values are PGs for Ceph, not objects
* s/overweight/overweighted/
* bump 1.0.29
1.0.28
------
* version 1.0.28
* crush: use OrderedDict when decoding JSON
* tests: ALL changed to LONG
* optimize: before optimization choose\_args is not set
* optimize: re-organize tests
* analyze: reorganize tests
* optimize: bad mapping is fatal
* main: can clone for test purpose
* doc: fix typo
* bump 1.0.28
1.0.27
------
* version 1.0.27
* ceph: add optimization cookbook
* optimize: reduce the number of tests run by default
* optimize: update index.rst
* ceph: default output format is crush
* optimize: clarify --step documentation
* optimize: display all steps when --step and keep the first
* weights must be represented as Q16.16 internally
* ceph: use CrushWrapper::has\_incompat\_choose\_args
* ceph: fix writing pre-jewel & choose\_args
* libcrush: implement ceph\_incompat
* libcrush: split ceph\_write
* doc: reference to the last sync with Ceph
* libcrush: extract from Ceph
* libcrush: sync with Ceph
* Revert "libcrush: extract from Ceph"
* crush: Crush parsing messages only for debug
* main: rework debug/warning/info
* libcrush: clear previous choose\_args, always
* optimize: remove spurious args
* ceph: extract crushmap from ceph reports
* ceph: version based on the first letter
* crush: discard osd weights that are the default
* split Ceph specific out of Crush
* ceph: s/hook/main/
* ceph: make sure divisions are always float
* convert: convert to Ceph pre-luminous format
* tests: crush do not enable logging DEBUG
* main: implement --debug
* compare: implement choose\_args
* compare: flake8 fixes
* analyze: split the analyze function
* crush: filter/merge must keep empty choose\_args
* compare: get values from main
* optimize: reduce uneven distribution in a pool
* crush: implement update\_choose\_args
* main: implement clone
* main: implement pickle
* analyze: handle BadMapping when analyzing failure
* main: implement get\_trimmed\_argv
* analyze: s/hooks/main/
* analyze: implement --choose-args
* move to python-crush after clone
* bump 1.0.27
1.0.26
------
* version 1.0.26
* analyze: crop the weight if above the maximum
* analyze: fail if mapping is incomplete
* bump 1.0.26
1.0.25
------
* version 1.0.25
* analyze: only warn about overweight items
* bump 1.0.25
1.0.24
------
* version 1.0.24
* analyze: normalized weights based on the effective weight
* analyze: implement collect\_expected\_objects
* crush: fix split/merge choose\_args
* there are no submodules
* libcrush: Ceph txt format rule\_id is incorrect
* libcrush: fail if choose\_args references a non existent bucket
* crush: filter must filter out choose\_args
* crush: find\_bucket must recurse on walk
* bump 1.0.24
1.0.23
------
* version 1.0.23
* analyze: split \_format\_report out of analyze
* analyze: document the worst over used in case of a failure
* doc: the issue explaining over/under used is no longer up to date
* analyze: display the worst over used in case of a failure
* crush: Crush.filter to trim buckets
* analyze: move collect\_paths,collect\_item2path to Crush
* analyze: move find\_take,analyze\_rule to Crush
* crushmap: distinguish parsing and manipulation
* bump 1.0.23
* doc: forgetting to git pull master is a common mistake
1.0.22
------
* version 1.0.22
* bump 1.0.22
* version 1.0.21
* ceph: resolve reference\_id
* libcrush: the count argument of step choose can be negative
* update installation instructions for CentOS 7
* remove duplicate requirements in requirements-dev.txt
* convert: update the documentation
* rework ceph convert
* libcrush: trim useless ids and weight\_set
* tests: assume tox is installed system wide
* libcrush: implement copy\_tunables
* libcrush: allow for numerical indices for choose\_args
* libcrush: parse 'types' if available
* rename pool\_pps into ceph\_pool\_pps
* document that Crush.get\_crushmap() returns a dereferenced crushmap
* libcrush: clear choose\_args that are not used
* doc: reference to the last sync with Ceph
* libcrush: extract from Ceph
* Revert "libcrush: extract from Ceph"
* bump 1.0.21
1.0.20
------
* version 1.0.20
* manylinux py27 does not have virtualenv
* doc: note about the weird hard coded include
* doc: notes on debugging readthedocs
* split requirements-dev.txt out of requirement.txt
* document pip freeze updates
* remove pip install tox from bootstrap
* remove obsolete .gitmodule
* docs: cannot compile LibCrush
* doc: fix formatting errors
* doc: make warnings fail on error
* bump 1.0.20
1.0.19
------
* version 1.0.19
* libcrush: guard against NULL pointers
* libcrush: fix leaking trace messages
* bump 1.0.19
1.0.18
------
* version 1.0.18
* doc: sync with README.rst
* wheel: fix wheelhouse permissions
* doc: fix README.rst formatting issue
* bump 1.0.18
1.0.17
------
* version 1.0.17
* documentation and helper scripts for manylinux
* libcrush: include /usr/include/boost148
* libcrush: lower cmake expectations
* bump 1.0.17
1.0.16
------
* version 1.0.16
* doc: choose\_args structure reference and map semantic
* crush: add map(choose\_args) parameter
* doc: typos and missing parameters
* libcrush: parse choose\_args
* libcrush: remove unused variable
* bump 1.0.16
1.0.15
------
* version 1.0.15
* fix error reporting on bugous JSON files
* doc: reference to the last sync with Ceph
* tests: tunables now default to optimal which leads to different results
* libcrush: crush\_do\_rule now has an extra argument
* libcrush: extract from Ceph
* libcrush: sync with Ceph
* Revert "libcrush: extract from Ceph"
* doc: typo fix double shows
* doc: convert handles text or binary
* bump 1.0.15
1.0.14
------
* version 1.0.14
* add crush.8 stub
* libcrush: fix permissions for ceph\_features.h
* libcrush: add missing return value
* analyze: display the number of objects
* bump 1.0.14
1.0.13
------
* version 1.0.13
* libcrush: fix c compilation bug
* bump 1.0.13
1.0.12
------
* version 1.0.12
* analyze,compare: implement --pool/--pg-num for Ceph
* analyze: implement hook\_create\_values
* rework options and subcommands
* analyze: better naming for the test class
* analyze,compare: remove factory()
* compare: remove unused --crushmap argument
* tests: Reverted un-necessary change
* compare: Can now apply weights
* tests: Testing for weights in 'crush analyze'
* tests: Testing for Crush.parse\_weights\_file
* libcrush: get all pps values for a Ceph pool
* tests: Get test data ready for testing weights
* analyze: added CLI option for weights
* docs: Fix docstring for parse\_weights\_file
* crush: New method for weight parsing
* misc: Ignore PyCharm files in Git
* tests: Added test data for OSDMap
* doc: python-pip is required
* doc: s/-dev/-devel/
* bump 1.0.12
1.0.11
------
* version 1.0.11
* doc: dependencies instructions updates
* add from \_\_future\_\_ import division
* move setup\_hooks outside of crush
* ceph: move the actual conversion to Crush
* tests: remove unused files
* compare,analyze: files can contain Ceph json,txt,binary
* crush: transparent format conversion for parse()
* libcrush: add support for binary crushmaps to convert()
* crush: implement \_convert\_to\_crushmap
* crush: define CephConverter
* doc: update libcrush hacking instructions
* libcrush: extract from Ceph
* Revert "libcrush: extract from Ceph"
* libcrush: add files required for encode/decode
* doc: add Xavier Villaneau <xvillaneau@gmail.com>
* ceph: CLI for converting from CRUSH text format
* libcrush: extract from Ceph
* libcrush: rework to import directly from Ceph
* improve error message if straw & !backward compatibility
* straw is not recommended, straw2 is
* doc: remove useless and incorrect line
* doc: Documented straw support in Crush.parse
* libcrush: support for the straw algorithm
* tests: Added tests for straw algorithm support
* bump 1.0.11
1.0.10
------
* version 1.0.10
* compare: remove --compare
* doc: cosmetic alignment
* doc: fix double shows
* doc: add compare to the index
* bump 1.0.10
1.0.9
-----
* version 1.0.9
* doc: add compare example to the quick start section
* add compare subcommand
* crush: fix typo in weights arguments
* analyze: add colon after defaut in usage
* analyze: display over/under used as %
* bump 1.0.9
1.0.8
-----
* version 1.0.8
* doc: add CLI information and --help instructions
* ceph: add documentation
* analyze: add documentation
* analyze: make --backward-compatibility the default
* analyze: strip --order-matters
* analyze: --type is better than --failure-domain
* analyze: default replication count is 3
* add the analyze subcommand
* add the ceph subcommand
* move logging after imports
* keys may be string or unicode
* Crush keeps the original crushmap
* rename main.Crush in main.Main
* missing newline in debug message
* the choose type may be zero for devices
* explicit keyword arguments for Crush constructor
* tunable must be set before map() not before parse()
* add the license where it matters
* bump 1.0.8
1.0.7
-----
* version 1.0.7
* a child may reference an existing bucket or device
* typo in URL
* chooseleaf\_descend\_once is also a tunable
* set\_choose\_local\*\_tries argument is positive
* support and document default tunables & step set\_\* tunables
* bump 1.0.7
1.0.6
-----
* version 1.0.6
* bump 1.0.6
* version 1.0.5
* update the quick start example
* bucket children must be ordered
* fix step choose\* documentation
* bump 1.0.5
* add links to code and documentation
* documentation updates
* sync with the latest libcrush
1.0.4
-----
* version 1.0.4
* improve test coverage and error detection
* increase parsing verbosity and improve readability
* get rid of useless trackers
* bump 1.0.4
1.0.3
-----
* version 1.0.3
* protect crush/\_\_init\_\_.py from import failure
* make flake8 happy
* make tests for mapping non random
* fix Crush tests (trees)
* API documentation
* a rule is just a list of steps
* the rule {min,max}\_size is not required
* allow multiple roots
* remove duplicate ~weight~ comparison
* implement crush.Crush API
* update documentation instructions
* typo in rpm dependencies
* bump 1.0.3
1.0.2
-----
* version 1.0.2
* portability fixes
* add package dependencies
* bump 1.0.2
1.0.1
-----
* version 1.0.1
* ship all necessary files
* implement crush map parser and map function
* import libcrush sources into the module
* dependencies for building the extension
* skeleton C module for libcrush
* initial commit