Skip to content

Commit

Permalink
Fix VersionedSessions migration (#4162)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga authored Jun 3, 2024
1 parent 12ddec6 commit cb074d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plausible/data_migration/versioned_sessions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ defmodule Plausible.DataMigration.VersionedSessions do
nil

# Docker containers don't seem to support EXCHANGE TABLE, hack around this with a non-atomic swap
{:error, %Ch.Error{code: 1}} ->
{:error, %Ch.Error{code: code}} when code in [1, 48] ->
IO.puts("Exchanging sessions_v2 and sessions_v2_tmp_versioned non-atomically")

{:ok, _} =
Expand Down

0 comments on commit cb074d8

Please sign in to comment.