Skip to content

Commit 226e641

Browse files
committed
Merge pull request Azure#26 from serkanpektas/master
Missing ReadMode and DocumentCollectionSpec assigning
2 parents f02f48b + 2ba3254 commit 226e641

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

samples/partitioning/DocumentDB.Samples.Sharding/DocumentDB.Samples.Sharding/Partitioners/SpilloverPartitionResolver.cs

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public SpilloverPartitionResolver(
4545
{
4646
this.Client = client;
4747
this.Database = database;
48+
this.CollectionTemplate = collectionSpec;
4849
this.CollectionLinks = GetCollections(client, database, collectionIdPrefix, collectionSpec);
4950
this.CollectionIdPrefix = collectionIdPrefix;
5051
this.FillFactor = fillFactor;

samples/partitioning/DocumentDB.Samples.Sharding/DocumentDB.Samples.Sharding/Partitioners/TransitionHashPartitionResolver.cs

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public TransitionHashPartitionResolver(
4343
{
4444
this.CurrentResolver = current;
4545
this.NextResolver = next;
46+
this.ReadMode = readMode;
4647
}
4748

4849
/// <summary>

0 commit comments

Comments
 (0)