We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f85ae commit e30d62cCopy full SHA for e30d62c
src/MongoDB.Driver/Core/Bindings/CoreSessionOptions.cs
@@ -17,7 +17,6 @@
17
18
namespace MongoDB.Driver.Core.Bindings
19
{
20
- //TODO Why is this class public?
21
/// <summary>
22
/// Core session options.
23
/// </summary>
src/MongoDB.Driver/Core/Operations/ReadConcernHelper.cs
@@ -40,7 +40,7 @@ public static BsonDocument GetReadConcernForSnapshotSession(ICoreSession session
40
Feature.SnapshotReads.ThrowIfNotSupported(connectionDescription.MaxWireVersion);
41
42
var readConcernDocument = ReadConcern.Snapshot.ToBsonDocument();
43
- if (session.SnapshotTime != null) // For the first read within a snapshot session, SnapshotTime will be null
+ if (session.SnapshotTime != null)
44
45
readConcernDocument.Add("atClusterTime", session.SnapshotTime);
46
}
0 commit comments