scylladb icon indicating copy to clipboard operation
scylladb copied to clipboard

config: disable "mc" format sstables for new data

Open avikivity opened this issue 2 years ago • 7 comments

"md" format was introduced in 4.3, in 3530e80ce10fc20b, two years ago. Disable the option to create new sstables with the "mc" format.

avikivity avatar Aug 10 '22 10:08 avikivity

v2: have feature service not disable the "mc" cluster feature with now-impossible config option.

avikivity avatar Aug 10 '22 10:08 avikivity

v3: revert v2. the cluster feature was already auto-enabled!

avikivity avatar Aug 10 '22 10:08 avikivity

@avikivity you only changed the config where is the change in the code that actually reads this config value ?

slivne avatar Aug 10 '22 11:08 slivne

There's also the flag enable_sstables_mc_format, which is already marked "deprecated" but appears to have been worse than deprecated (it seems to have been ignored?) and should probably be removed.

docs/architecture/sstable/sstable3/index.rst also contains some out of date mentions of the mc format, but I guess this can/should be fixed separately.

nyh avatar Aug 10 '22 11:08 nyh

@avikivity you only changed the config where is the change in the code that actually reads this config value ?

https://github.com/scylladb/scylladb/blob/8ee5b69f800481e31ecefbeae74d224d3d082152/gms/feature_service.cc#L32

avikivity avatar Aug 10 '22 11:08 avikivity

There's also the flag enable_sstables_mc_format, which is already marked "deprecated" but appears to have been worse than deprecated (it seems to have been ignored?) and should probably be removed.

docs/architecture/sstable/sstable3/index.rst also contains some out of date mentions of the mc format, but I guess this can/should be fixed separately.

What needs to be fixed there? We still support mc. We just don't support disabling md and me.

avikivity avatar Aug 10 '22 16:08 avikivity

CI state SUCCESS - https://jenkins.scylladb.com/job/releng/job/Scylla-CI/1763/

scylladb-promoter avatar Aug 10 '22 16:08 scylladb-promoter

merge ping

bhalevy avatar Nov 08 '22 04:11 bhalevy