public AzureTransactionLogStorage(SerializationManager serializationManager, IOptions <AzureTransactionLogOptions> configurationOptions, IOptions <AzureTransactionArchiveLogOptions> archiveOptions, IOptions <ClusterOptions> clusterOptions) { this.serializationManager = serializationManager; this.options = configurationOptions.Value; this.clusterOptions = clusterOptions.Value; this.archiveLogOptions = archiveOptions.Value; this.commitRecordPartitionKey = ArchivalRow.MakePartitionKey(this.clusterOptions.ServiceId); }
public CommitRow(ClusterOptions clusterOptions, long firstLSN) { // All entities are in the same partition for atomic read/writes. PartitionKey = ArchivalRow.MakePartitionKey(clusterOptions.ServiceId); RowKey = MakeRowKey(firstLSN); }