Skip to content

Commit

Permalink
Fix compilation failure
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Singh <ssashish@amazon.com>
  • Loading branch information
ashking94 committed Oct 12, 2023
1 parent 85bc39a commit c306908
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ public final void flush() throws EngineException {
/**
* Rolls the translog generation and cleans unneeded.
*/
public abstract void rollTranslogGeneration() throws EngineException;
public abstract void rollTranslogGeneration() throws EngineException, IOException;

/**
* Triggers a forced merge on this engine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public boolean shouldRollTranslogGeneration() {
}

@Override
public void rollTranslogGeneration() throws EngineException {
public void rollTranslogGeneration() throws EngineException, IOException {
translogManager.rollTranslogGeneration();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ public boolean shouldRollTranslogGeneration() {
}

@Override
public void rollTranslogGeneration() {
public void rollTranslogGeneration() throws IOException {
translogManager.rollTranslogGeneration();
}

Expand Down

0 comments on commit c306908

Please sign in to comment.