This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"versions": [ | |
{ | |
"changes": "https://jira.mongodb.org/issues/?jql=project%20%3D%20SERVER%20AND%20fixVersion%20%3D%20%228.1.0%22%20ORDER%20BY%20status%20DESC%2C%20priority%20DESC", | |
"continuous_release": false, | |
"current": true, | |
"date": "03/28/2025", | |
"development_release": false, | |
"downloads": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONTROL Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' | |
CONTROL Multi threading initialized | |
NETWORK Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set at least one of the related parameters | |
NETWORK Initialized wire specification | |
TENANT_M Starting TenantMigrationAccessBlockerRegistry | |
CONTROL MongoDB starting | |
CONTROL Target operating system minimum version | |
CONTROL Build Info | |
CONTROL Operating System | |
CONTROL Options set by command line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4317 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Security.Cryptography; | |
public static class BetterPasswordHasher | |
{ | |
// Always use distinct version IDs for new versions, ideally by incrementing the highest version ID. | |
private const byte VersionId1 = 0x01; | |
private const byte VersionId2 = 0x02; | |
private const byte DefaultVersionId = VersionId2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var options = new MongoRunnerOptions | |
{ | |
UseSingleNodeReplicaSet = true, | |
StandardOuputLogger = Console.WriteLine, | |
StandardErrorLogger = Console.WriteLine, | |
}; | |
using (var runner = MongoRunner.Run(options)) | |
{ | |
var database = new MongoClient(runner.ConnectionString).GetDatabase("mydb"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a branch policy in Azure Repos to protect your main branch | |
trigger: none | |
schedules: | |
- cron: "28 5 * * 6" | |
displayName: "Weekly run" | |
branches: | |
include: ["main", "master"] | |
always: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using EphemeralMongo; | |
public static class MongoRunnerProvider | |
{ | |
private static readonly object _lockObj = new object(); | |
private static IMongoRunner? _runner; | |
private static int _useCounter; | |
public static IMongoRunner Get() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.Configuration.AzureAppConfiguration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.FeatureManagement; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Threading.Tasks; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Columns; | |
using BenchmarkDotNet.Configs; | |
using BenchmarkDotNet.Reports; | |
using BenchmarkDotNet.Running; | |
var benchmarkOptions = DefaultConfig.Instance.WithSummaryStyle(SummaryStyle.Default.WithRatioStyle(RatioStyle.Trend)); | |
_ = BenchmarkRunner.Run<AwaitBenchmarks>(benchmarkOptions); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Concurrent; | |
using System.Reflection; | |
using System.Threading.Tasks; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Columns; | |
using BenchmarkDotNet.Configs; | |
using BenchmarkDotNet.Order; | |
using BenchmarkDotNet.Reports; | |
using BenchmarkDotNet.Running; |
NewerOlder