Fileconfigure json document


(Vasiliy Popkov) #1

Hi everyone.

We trying setup double dc in 1 region and found this

“regions”:[{
“datacenters”:[{
“id”:“WC1”,
“priority”:1,
},{
“id”:“WC2”,
“priority”:0,
“satellite”:1
}],
“satellite_redundancy_mode”:“one_satellite_double”
},{
“datacenters”:[{
“id”:“EC1”,
“priority”:0,
}]
}]

as we understand it’s a part of big json document but we can’t find full example of json document for Fileconfigure.

Please help me find a detailed sample json file for Fileconfigure.


(Evan Tschannen) #2

I think all you are missing is a {} around the whole thing. The schema which specifies all possible options is in the source here: https://github.com/apple/foundationdb/blob/master/fdbclient/Schemas.cpp#L619