From 4a6bc47b2e40ca13fd4a1450de87b257face4883 Mon Sep 17 00:00:00 2001 From: Vlad Artamonov <742047+vladdy@users.noreply.github.com> Date: Tue, 23 Mar 2021 12:35:57 -0700 Subject: [PATCH] Fix possible mistype in a comment (#8086) Summary: This is a small fix to what I think is a mistype in two comments in `DBOptionsInterface.java`. If it was not an error, feel free to close. Pull Request resolved: https://github.com/facebook/rocksdb/pull/8086 Reviewed By: ajkr Differential Revision: D27260488 Pulled By: mrambacher fbshipit-source-id: 469daadaf6039d5b5187132b8e0c7c3672842f21 --- java/src/main/java/org/rocksdb/DBOptionsInterface.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/main/java/org/rocksdb/DBOptionsInterface.java b/java/src/main/java/org/rocksdb/DBOptionsInterface.java index b090c39d4..6609e0ad3 100644 --- a/java/src/main/java/org/rocksdb/DBOptionsInterface.java +++ b/java/src/main/java/org/rocksdb/DBOptionsInterface.java @@ -625,7 +625,7 @@ public interface DBOptionsInterface> { * then WAL_size_limit_MB, they will be deleted starting with the * earliest until size_limit is met. All empty files will be deleted. *
  • If WAL_ttl_seconds is not 0 and WAL_size_limit_MB is 0, then - * WAL files will be checked every WAL_ttl_secondsi / 2 and those that + * WAL files will be checked every WAL_ttl_seconds / 2 and those that * are older than WAL_ttl_seconds will be deleted.
  • *
  • If both are not 0, WAL files will be checked every 10 min and both * checks will be performed with ttl being first.
  • @@ -648,7 +648,7 @@ public interface DBOptionsInterface> { * then WAL_size_limit_MB, they will be deleted starting with the * earliest until size_limit is met. All empty files will be deleted. *
  • If WAL_ttl_seconds is not 0 and WAL_size_limit_MB is 0, then - * WAL files will be checked every WAL_ttl_secondsi / 2 and those that + * WAL files will be checked every WAL_ttl_seconds / 2 and those that * are older than WAL_ttl_seconds will be deleted.
  • *
  • If both are not 0, WAL files will be checked every 10 min and both * checks will be performed with ttl being first.