Server: collect tombstones past their retention, compact superseded change entries, and refuse cursors from before a collection

This commit is contained in:
jaap-jan committed 2026-10-02 17:18:22 +02:00
1 parent 656a33b4b1
commit 8cb1457ca9
10 files changed
+2438 -2

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -0,0 +1,31 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace DodoSSH.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddVaultSyncHorizon : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<long>(
name: "sync_horizon",
schema: "dodo",
table: "vault",
type: "bigint",
nullable: false,
defaultValue: 0L);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "sync_horizon",
schema: "dodo",
table: "vault");
}
}
}
@@ -750,6 +750,10 @@ namespace DodoSSH.Infrastructure.Migrations
.HasColumnType("boolean")
.HasColumnName("rekey_required");
b.Property<long>("SyncHorizon")
.HasColumnType("bigint")
.HasColumnName("sync_horizon");
b.Property<Guid?>("TeamId")
.HasColumnType("uuid")
.HasColumnName("team_id");