HDFS-14317. Ensure checkpoints are created when in-progress edit log tailing is enabled with a period shorter than the log roll period. Contributed by Ekanth Sethuramalingam. (cherry-picked from commit 1bc282e0b3f74968c92751f0972746b012e72810) (cherry-picked from commit 6d076dd5e8be8fee5062a04d4cd2aa0c5da0ea56)