Package org.elasticsearch.index.translog.fs

Examples of org.elasticsearch.index.translog.fs.FsTranslog.locations()


            String translogName = "translog-" + translogId;
            String recoverTranslogName = translogName + ".recovering";


            File recoveringTranslogFile = null;
            for (File translogLocation : translog.locations()) {
                File tmpRecoveringFile = new File(translogLocation, recoverTranslogName);
                if (!tmpRecoveringFile.exists()) {
                    File tmpTranslogFile = new File(translogLocation, translogName);
                    if (tmpTranslogFile.exists()) {
                        for (int i = 0; i < RECOVERY_TRANSLOG_RENAME_RETRIES; i++) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.