Skip to content

Commit eb9b434

Browse files
committed
Fix erroneous skipping of some components
1 parent 7ea7a61 commit eb9b434

File tree

1 file changed

+0
-8
lines changed
  • src/Share/BackgroundJobs/SerializedEntitiesMigration

1 file changed

+0
-8
lines changed

src/Share/BackgroundJobs/SerializedEntitiesMigration/Worker.hs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@ processComponents !_authZReceipt = do
6565
Q.claimComponent >>= \case
6666
Nothing -> pure False
6767
Just (componentHashId, userId) -> do
68-
done <-
69-
queryExpect1Col
70-
[sql|
71-
SELECT EXISTS(SELECT FROM component_summary_digests_to_serialized_component_bytes_hash t WHERE t.component_hash_id = #{componentHashId})
72-
|]
73-
if done
74-
then pure True
75-
else do
7668
let codebaseEnv = CodebaseEnv userId
7769
Codebase.codebaseMToTransaction codebaseEnv $ do
7870
hash32 <- (Hash32.fromHash . unComponentHash) <$> HQ.expectComponentHashesOf id componentHashId

0 commit comments

Comments
 (0)