сб, 20 окт. 2018 г. в 2:21, Vasiliy Tolstov <v.tolstov@xxxxxxxxx>: > > пн, 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? > > > > Sage Weil, can you share info why binary crushmap contains buckets > with alg == 0 ? > Also as i understand weight for bucket written in LittleEndian first Is Num (uint16) and second Exp (uint16) ? -- Vasiliy Tolstov, e-mail: v.tolstov@xxxxxxxxx