Skip to content

Commit

Permalink
Parallel calls
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeet-db committed Sep 6, 2024
1 parent d59e3f0 commit 3aa3bd9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 79 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ private CoordinatedCommitsUtils() {}
/** The subdirectory in which to store the unbackfilled commit files. */
final static String COMMIT_SUBDIR = "_commits";

/** The configuration key for the coordinated commits owner. */
private static final String COORDINATED_COMMITS_COORDINATOR_CONF_KEY =
/** The configuration key for the coordinated commits owner name. */
private static final String COORDINATED_COMMITS_COORDINATOR_NAME_KEY =
"delta.coordinatedCommits.commitCoordinator-preview";

/**
Expand Down Expand Up @@ -111,7 +111,7 @@ public static Path commitDirPath(Path logPath) {
private static String getCoordinator(AbstractMetadata metadata) {
String coordinator = metadata
.getConfiguration()
.get(COORDINATED_COMMITS_COORDINATOR_CONF_KEY);
.get(COORDINATED_COMMITS_COORDINATOR_NAME_KEY);
return coordinator != null ? coordinator : "";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.locks.ReentrantReadWriteLock

import io.delta.storage.LogStore
import io.delta.storage.commit.CoordinatedCommitsUtils
import io.delta.storage.commit.actions.AbstractMetadata
import io.delta.storage.commit.actions.AbstractProtocol
import org.apache.hadoop.conf.Configuration
Expand Down

0 comments on commit 3aa3bd9

Please sign in to comment.