Skip to content

Commit db557a8

Browse files
committed
Renamed StoredFlow's HumanInstanceId to InstanceId
1 parent f9afb96 commit db557a8

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

Core/Cleipnir.ResilientFunctions/CoreRuntime/Invocation/InvocationHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public async Task PublishCompletionMessageToParent(StoredId? parent, FlowId chil
225225
public async Task<PreparedReInvocation> PrepareForReInvocation(StoredId storedId, RestartedFunction restartedFunction)
226226
{
227227
var (sf, effects, messages, storageSession) = restartedFunction;
228-
var flowId = new FlowId(_flowType, sf.HumanInstanceId);
228+
var flowId = new FlowId(_flowType, sf.InstanceId);
229229

230230
var runningFunction = _shutdownCoordinator.RegisterRunningFunction();
231231

Core/Cleipnir.ResilientFunctions/Storage/Types.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ internal static class StoredTypeExtension
8989

9090
public record StoredFlow(
9191
StoredId StoredId,
92-
string HumanInstanceId,
92+
string InstanceId,
9393
byte[]? Parameter,
9494
Status Status,
9595
byte[]? Result,

Stores/MariaDB/Cleipnir.ResilientFunctions.MariaDB/MariaDbFunctionStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ SELECT instance
723723
: null;
724724
return new StoredFlow(
725725
storedId,
726-
HumanInstanceId: reader.GetString(humanInstanceIdIndex),
726+
InstanceId: reader.GetString(humanInstanceIdIndex),
727727
hasParam ? (byte[]) reader.GetValue(paramIndex) : null,
728728
Status: (Status) reader.GetInt32(statusIndex),
729729
Result: hasResult ? (byte[]) reader.GetValue(resultIndex) : null,

Stores/MariaDB/Cleipnir.ResilientFunctions.MariaDB/SqlGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public StoreCommand RestartExecution(StoredId storedId, ReplicaId replicaId)
375375
: null;
376376
return new StoredFlow(
377377
id,
378-
HumanInstanceId: reader.GetString(humanInstanceIdIndex),
378+
InstanceId: reader.GetString(humanInstanceIdIndex),
379379
hasParam ? (byte[]) reader.GetValue(paramIndex) : null,
380380
Status: (Status) reader.GetInt32(statusIndex),
381381
Result: hasResult ? (byte[]) reader.GetValue(resultIndex) : null,

Stores/PostgreSQL/Cleipnir.ResilientFunctions.PostgreSQL/PostgreSqlFunctionStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ 9 owner
689689

690690
return new StoredFlow(
691691
storedId,
692-
HumanInstanceId: reader.GetString(7),
692+
InstanceId: reader.GetString(7),
693693
hasParameter ? (byte[]) reader.GetValue(0) : null,
694694
Status: (Status) reader.GetInt32(1),
695695
Result: hasResult ? (byte[]) reader.GetValue(2) : null,

0 commit comments

Comments
 (0)