This repository was archived by the owner on Sep 27, 2019. It is now read-only.
  
  
  
  
  
Description
- SettingsManager controls transaction for SettingsCatalog. So checkpoints can’t recover settings due to nested transaction.
- Can’t add new settings after Peloton booting. So we can’t implement SET command.
- There is no update function in SettingsCatalog.
- Why setting control functions are static?
So I propose setting refactoring for SettingManager and SettingsCatalog. Basically, I think setting user should control all functions through SettingManager, not static like other manager. Refactor points are below:
- All setting values are controlled through SettingsManager (Set/Get value, Add setting)
- A TransactionContextis passed through the function argument.
- Implement update function in SettingsCatalog.