Another retention question: the file `_lakefs/rete...
# dev
a
Another retention question: the file
_lakefs/retention/gc/rules/config.json
is not a JSON file. What format is it? protobuf?? Here's a hexdump of one that I have right now:
Copy code
00000000  08 05 12 08 0a 04 6d 61  69 6e 10 06              |......main..|
b
protobuf
🤐 2
message GarbageCollectionRules
a
Yup, decoding in
GarbageCollectionManager.GetRules
uses this:
Copy code
rulesBytes, err := io.ReadAll(reader)
	if err != nil {
		return nil, err
	}
	err = proto.Unmarshal(rulesBytes, &rules)
	if err != nil {
		return nil, err
	}
Grrr...