Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgeCandeias committed Dec 7, 2024
1 parent 7076a74 commit 19c5e8c
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ SELECT
ProviderId,
GrainId,
SiloAddress,
ActivationId,
CreatedOn
ActivationId
FROM
OrleansGrainDirectory WITH (UPDLOCK, PAGLOCK, HOLDLOCK, INDEX(IX_OrleansGrainDirectory_Lookup))
WHERE
Expand All @@ -118,8 +117,7 @@ BEGIN
INSERTED.ProviderId,
INSERTED.GrainId,
INSERTED.SiloAddress,
INSERTED.ActivationId,
INSERTED.CreatedOn
INSERTED.ActivationId
SELECT
@ClusterId,
@ProviderId,
Expand Down Expand Up @@ -229,7 +227,7 @@ SELECT
SiloAddress,
ActivationId
FROM
OrleansGrainDirectory WITH (INDEX(IX_OrleansGrainDirectory_Lookup))
OrleansGrainDirectory WITH (UPDLOCK, PAGLOCK, HOLDLOCK, INDEX(IX_OrleansGrainDirectory_Lookup))
WHERE
ClusterId = @ClusterId
AND ProviderId = @ProviderId
Expand Down

0 comments on commit 19c5e8c

Please sign in to comment.