Skip to content

Commit

Permalink
needed to initialize the partition tracking before adding new partiti…
Browse files Browse the repository at this point in the history
…ons. Bumps to 7.11.4
  • Loading branch information
jeremydmiller committed Oct 9, 2024
1 parent a3f21dc commit 20ee9a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>7.11.3</Version>
<Version>7.11.4</Version>
<LangVersion>12.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ public async Task<TablePartitionStatus[]> AddPartitionToAllTables(ILogger logger
await using var conn = database.CreateConnection();
await conn.OpenAsync(token).ConfigureAwait(false);

// This is idempotent, so just do it here
await InitializeAsync(conn, token).ConfigureAwait(false);

await _table.MigrateAsync(conn, token).ConfigureAwait(false);

await using var tx = await conn.BeginTransactionAsync(token).ConfigureAwait(false);
Expand Down

0 comments on commit 20ee9a7

Please sign in to comment.