Skip to content

Commit

Permalink
HDFS-13607. [SBN read] Edit Tail Fast Path Part 1: Enhance JournalNod…
Browse files Browse the repository at this point in the history
…e with an in-memory cache of recent edit transactions. Contributed by Erik Krogen.
  • Loading branch information
xkrogen authored and shvachko committed Dec 24, 2018
1 parent e880660 commit c81ac2f
Show file tree
Hide file tree
Showing 4 changed files with 665 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,9 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
public static final String DFS_JOURNALNODE_SYNC_INTERVAL_KEY =
"dfs.journalnode.sync.interval";
public static final long DFS_JOURNALNODE_SYNC_INTERVAL_DEFAULT = 2*60*1000L;
public static final String DFS_JOURNALNODE_EDIT_CACHE_SIZE_KEY =
"dfs.journalnode.edit-cache-size.bytes";
public static final int DFS_JOURNALNODE_EDIT_CACHE_SIZE_DEFAULT = 1024 * 1024;

// Journal-node related configs for the client side.
public static final String DFS_QJOURNAL_QUEUE_SIZE_LIMIT_KEY = "dfs.qjournal.queued-edits.limit.mb";
Expand Down
Loading

0 comments on commit c81ac2f

Please sign in to comment.