Also if somebody wants https://godoc.org/github.com/unistack-org/go-crush/crushmap Now i miss some tunables decode from binary. And also not able to encode binary and text formats. пн, 8 окт. 2018 г. в 2:09, Vasiliy Tolstov <v.tolstov@xxxxxxxxx>: > > пн, 8 окт. 2018 г. в 0:47, Sage Weil <sage@xxxxxxxxxxxx>: > > > > > > It's int32_t, now. This was fixed before bobtail, back in 2012, so we > > could probably even remove this compat code. > > > > sage > > Thanks. After that i can remove this part from my code.. > Thanks again, i'm able to decode simple crush map with 3 rules and 16 buckets. > Can you say me - why some buckets are empty? Alg == 0 ? > Why it needed? > > -- > Vasiliy Tolstov, > e-mail: v.tolstov@xxxxxxxxx -- Vasiliy Tolstov, e-mail: v.tolstov@xxxxxxxxx