|
17 | 17 |
|
18 | 18 | package org.apache.shardingsphere.mode.manager.standalone.persist.service;
|
19 | 19 |
|
20 |
| -import lombok.extern.slf4j.Slf4j; |
21 | 20 | import org.apache.shardingsphere.infra.config.rule.RuleConfiguration;
|
22 | 21 | import org.apache.shardingsphere.infra.database.core.type.DatabaseTypeRegistry;
|
23 | 22 | import org.apache.shardingsphere.infra.datasource.pool.props.domain.DataSourcePoolProperties;
|
|
60 | 59 | /**
|
61 | 60 | * Standalone meta data manager persist service.
|
62 | 61 | */
|
63 |
| -@Slf4j |
64 | 62 | public final class StandaloneMetaDataManagerPersistService implements MetaDataManagerPersistService {
|
65 | 63 |
|
66 | 64 | private final MetaDataContextManager metaDataContextManager;
|
@@ -215,7 +213,6 @@ private void afterStorageUnitsUnregistered(final String databaseName, final Stri
|
215 | 213 | tables.forEach(each -> metaDataPersistFacade.getDatabaseMetaDataFacade().getTable().drop(databaseName, entry.getKey(), each.getName()));
|
216 | 214 | }
|
217 | 215 | } catch (final SQLException ex) {
|
218 |
| - log.error("Reload table meta failed, databaseName:{}", databaseName, ex); |
219 | 216 | throw new LoadTableMetaDataFailedException();
|
220 | 217 | }
|
221 | 218 | }
|
@@ -281,7 +278,6 @@ private void reloadAlteredTables(final String databaseName, final Collection<Str
|
281 | 278 | tables.forEach(each -> metaDataContextManager.getDatabaseMetaDataManager().alterTable(databaseName, entry.getKey(), each));
|
282 | 279 | }
|
283 | 280 | } catch (final SQLException ex) {
|
284 |
| - log.error("Load table meta failed, databaseName: {}, needReloadTables: {}", databaseName, needReloadTables, ex); |
285 | 281 | throw new LoadTableMetaDataFailedException();
|
286 | 282 | }
|
287 | 283 | }
|
|
0 commit comments