Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.OnlineDDLInProgressException


        OnlineCache onlineCache = getOnlineCache(session, oldAIS);

        for(Integer tid : tableIDs) {
            Long curOwner = onlineCache.tableToOnline.get(tid);
            if((curOwner != null) && (onlineSession == null || !curOwner.equals(onlineSession.id))) {
                throw new OnlineDDLInProgressException(tid);
            }
        }

        for(String name : schemas) {
            Long curOwner = onlineCache.schemaToOnline.get(name);
            if((curOwner != null) && (onlineSession == null || !curOwner.equals(onlineSession.id))) {
                throw new OnlineDDLInProgressException(name);
            }
        }

        bumpTableVersions(session, newAIS, tableIDs);
View Full Code Here

TOP

Related Classes of com.foundationdb.server.error.OnlineDDLInProgressException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.