tarantool / doc

Tarantool documentation
https://www.tarantool.io/en/doc/
Other
15 stars 43 forks source link

[2pt] VShard: deprecate config option 'collect_bucket_garbage_interval' #2013

Closed TarantoolBot closed 7 months ago

TarantoolBot commented 3 years ago

VShard: deprecate config option 'collect_bucket_garbage_interval'

Product: Tarantool, vshard (external module) Since: 0.1.17 (vshard version; vshard is compatible with Tarantool versions >= 1.9) Audience/target: developers; Tarantool implementation teams Root document: https://www.tarantool.io/en/doc/latest/reference/reference_rock/vshard/vshard_ref/#cfg-basic-collect-bucket-garbage-interval SME: @Gerold103 Peer reviewer: @

Details

It was used to specify the interval between bucket garbage collection steps. It was needed because garbage collection in vshard was proactive. It didn't react to newly appeared garbage buckets immediately.

Since now (0.1.17) garbage collection became reactive. It starts working with garbage buckets immediately as they appear. And sleeps rest of the time. The option is not used now and does not affect behaviour of anything.

I suppose it can be deleted from the documentation. Or left with a big label 'deprecated' + the explanation above.

An attempt to use the option does not cause an error, but logs a warning.

Definition of done

andreyaksenov commented 7 months ago

https://www.tarantool.io/en/doc/latest/reference/reference_rock/vshard/vshard_ref/#confval-collect_bucket_garbage_interval