for (CFMetaData cfmd : Schema.instance.getTablesAndViews(ks))
for (CFMetaData cfmd : Schema.instance.getTablesAndViews(ks))
for (CFMetaData cfmd : Schema.instance.getTablesAndViews(ks))
for (CFMetaData cfmd : Schema.instance.getTablesAndViews(ks))
for (CFMetaData cfmd : Schema.instance.getTablesAndViews(ks))
for (CFMetaData cfmd : Schema.instance.getTablesAndViews(ks))
public void execute() throws StartupException { // check the system keyspace to keep user from shooting self in foot by changing partitioner, cluster name, etc. // we do a one-off scrub of the system keyspace first; we can't load the list of the rest of the keyspaces, // until system keyspace is opened. for (CFMetaData cfm : Schema.instance.getTablesAndViews(SchemaConstants.SYSTEM_KEYSPACE_NAME)) ColumnFamilyStore.scrubDataDirectories(cfm); try { SystemKeyspace.checkHealth(); } catch (ConfigurationException e) { throw new StartupException(100, "Fatal exception during initialization", e); } } };
public void execute() throws StartupException { // check the system keyspace to keep user from shooting self in foot by changing partitioner, cluster name, etc. // we do a one-off scrub of the system keyspace first; we can't load the list of the rest of the keyspaces, // until system keyspace is opened. for (CFMetaData cfm : Schema.instance.getTablesAndViews(SchemaConstants.SYSTEM_KEYSPACE_NAME)) ColumnFamilyStore.scrubDataDirectories(cfm); try { SystemKeyspace.checkHealth(); } catch (ConfigurationException e) { throw new StartupException(100, "Fatal exception during initialization", e); } } };
public void execute() throws StartupException { // check the system keyspace to keep user from shooting self in foot by changing partitioner, cluster name, etc. // we do a one-off scrub of the system keyspace first; we can't load the list of the rest of the keyspaces, // until system keyspace is opened. for (CFMetaData cfm : Schema.instance.getTablesAndViews(SchemaConstants.SYSTEM_KEYSPACE_NAME)) ColumnFamilyStore.scrubDataDirectories(cfm); try { SystemKeyspace.checkHealth(); } catch (ConfigurationException e) { throw new StartupException(100, "Fatal exception during initialization", e); } } };
continue; for (CFMetaData cfm : Schema.instance.getTablesAndViews(keyspaceName))
continue; for (CFMetaData cfm : Schema.instance.getTablesAndViews(keyspaceName))
continue; for (CFMetaData cfm : Schema.instance.getTablesAndViews(keyspaceName))