VOOZH about

URL: https://www.nuget.org/packages/Lakona.Game.Cluster.Sql/

⇱ NuGet Gallery | Lakona.Game.Cluster.Sql 0.2.1




Lakona.Game.Cluster.Sql 0.2.1

dotnet add package Lakona.Game.Cluster.Sql --version 0.2.1
 
 
NuGet\Install-Package Lakona.Game.Cluster.Sql -Version 0.2.1
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lakona.Game.Cluster.Sql" Version="0.2.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lakona.Game.Cluster.Sql" Version="0.2.1" />
 
Directory.Packages.props
<PackageReference Include="Lakona.Game.Cluster.Sql" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Lakona.Game.Cluster.Sql --version 0.2.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lakona.Game.Cluster.Sql, 0.2.1"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Lakona.Game.Cluster.Sql@0.2.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Lakona.Game.Cluster.Sql&version=0.2.1
 
Install as a Cake Addin
#tool nuget:?package=Lakona.Game.Cluster.Sql&version=0.2.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Lakona.Game.Cluster.Sql

SQL-backed node directory persistence for Lakona.Game cluster membership.

Applications provide their own DbConnection factory and SQL provider package. This package contains provider-neutral node-directory persistence code plus the initial SQL schema files for the framework-owned node directory table.

Production Schema Lifecycle

Production applications should not create or alter database tables from ordinary app startup. Create the node-directory table before app startup through a deployment migration, DBA-controlled SQL step, or one-time bootstrap job that uses an admin-capable database account.

The runtime database user used by SqlNodeDirectory should not require CREATE TABLE or ALTER TABLE. It must have SELECT, INSERT, and UPDATE on the configured node-directory table. VerifyReadyAsync verifies the table shape and SELECT permission; it does not prove write permission.

Initial schema files are packaged under:

schema/postgres/001-lakona-cluster-nodes.sql
schema/mysql/001-lakona-cluster-nodes.sql
schema/sqlite/001-lakona-cluster-nodes.sql

The scripts use the default table name lakona_cluster_nodes. If an application uses a custom table name, call SqlNodeDirectorySchema.CreateTableSql(dialect, tableName) during a controlled migration/bootstrap step and review the emitted SQL before applying it.

Table names may contain only letters, digits, and underscores. Schema-qualified table names such as public.lakona_cluster_nodes are intentionally rejected to avoid identifier injection. Use a database user's default schema or connection search path when the physical database schema must differ.

Runtime APIs

  • SqlNodeDirectorySchema.CreateTableSql returns the initial table SQL for a dialect and table name. It does not execute SQL.
  • SqlNodeDirectorySchema.EnsureCreatedAsync executes CREATE TABLE IF NOT EXISTS. Use it only for tests, local development, or explicit admin/bootstrap tools.
  • SqlNodeDirectorySchema.VerifyReadyAsync performs a zero-row SELECT against the required columns. It performs no DDL and is appropriate for production startup readiness checks.

Ownership Boundary

This table stores live cluster membership metadata: node id, epoch, state, endpoints, features, labels, lease expiration, and update time. It is not a business event log, route directory, gameplay state store, account database, or leaderboard store.

Product Versions Compatible and additional computed target framework versions.
.NET net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.1 41 6/17/2026
0.2.0 75 6/17/2026