less commit + better meta support
This commit is contained in:
@ -204,6 +204,7 @@ class OptionDescription(BaseOption, StorageOptionDescription):
|
||||
|
||||
def impl_build_force_store_values(self, config, force_store_values):
|
||||
session = config._impl_values._p_.getsession()
|
||||
value_set = False
|
||||
for subpath, option in self._cache_force_store_values:
|
||||
if option.impl_is_master_slaves('slave'):
|
||||
# problem with index
|
||||
@ -218,8 +219,12 @@ class OptionDescription(BaseOption, StorageOptionDescription):
|
||||
validate=False,
|
||||
trusted_cached_properties=False,
|
||||
validate_properties=True)
|
||||
value_set = True
|
||||
config._impl_values._p_.setvalue(subpath, value,
|
||||
owners.forced, None, session)
|
||||
owners.forced, None, session, False)
|
||||
|
||||
if value_set:
|
||||
config._impl_values._p_.commit()
|
||||
|
||||
# ____________________________________________________________
|
||||
def impl_set_group_type(self, group_type):
|
||||
|
Reference in New Issue
Block a user