Skip to content

Commit

Permalink
Change the migrator to avoid table locks when adding an index. (#6489)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelabuckley authored Nov 20, 2024
1 parent 75ac6e2 commit e569a28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
type: perf
issue: 6489
title: "Change the migrator to avoid table locks when adding an index. This allows systems to continue running during upgrade."
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public class BuilderAddIndexUnique {
private final String myVersion;
private final boolean myUnique;
private String[] myIncludeColumns;
private boolean myOnline;
private boolean myOnline = true;

public BuilderAddIndexUnique(String theVersion, boolean theUnique) {
myVersion = theVersion;
Expand Down

0 comments on commit e569a28

Please sign in to comment.