Skip to content

History / Background tasks

Revisions

  • rename the wiki to Scrinium

    @tmm360 tmm360 committed Aug 25, 2026
  • correct and dry the whole page set

    @tmm360 tmm360 committed Aug 21, 2026
  • document the cross context dependencies propagation

    @tmm360 tmm360 committed Aug 20, 2026
  • document the not propagated reference paths and the shared reaction mode

    @tmm360 tmm360 committed Aug 20, 2026
  • document the origin delete propagation

    @tmm360 tmm360 committed Aug 19, 2026
  • document the db context lock Add the "Db context lock" page covering the server side lease that serializes seeding and migrations of a db context across every application instance: scope, claim/lease/renewal, owner death, the per operation lease duration and where it is passed, and the read-only denial. Link it from the sidebar, Home and the related pages. Align the stale claims elsewhere: a migration start is denied by the lock held by another owner (not by a queued or running operation), the in-process guarantee is exclusive access while the cross instance one is the lock, a dry run holds the lock while skipping exclusive access, the seeding wait is bounded and throws on expiry, the dashboard pairs an open operation with a live lease before reporting a migration running, and Cancelled joins the reachable operation statuses.

    @tmm360 tmm360 committed Aug 6, 2026
  • document the dependency update task enqueue condition

    @tmm360 tmm360 committed Jul 31, 2026
  • document migration dry run mode

    @tmm360 tmm360 committed Jul 29, 2026
  • describe bulk server side propagation of dependency updates

    @tmm360 tmm360 committed Jul 28, 2026
  • align operations pages to migration-driven index builds and real task enqueueing

    @tmm360 tmm360 committed Jul 28, 2026
  • align references, exceptions and task runner docs to MODM-94

    @tmm360 tmm360 committed Jul 25, 2026
  • Add Advanced & reference section; normalize internal links - Execution contexts: ambient per-flow state, automatic wiring, opening one on background threads - Exclusive access: RunWithExclusiveAccessAsync, lockout semantics, when to use it - Best practices and pitfalls: scopes/captive dependencies, no-cache scans, atomic writes, compare-by-Id, cross-context references, background-thread contexts — with real service examples - Exceptions reference: the Mongodm* exceptions and what triggers each - Complete the sidebar with all six sections - Convert custom-text wiki links to unambiguous Markdown links and document the convention

    @tmm360 tmm360 committed Jul 20, 2026
  • Add Operations & maintenance section - Migrations: DocumentMigration constructors, DocumentMigrationList, migration process (drop/migrate/build under exclusive access), running via dashboard or TryStartMigrationAsync, MigrationResult and the _db_ops log - Database seeding: SeedAsync override, SeedDbContexts, once-only semantics - Background tasks: ITaskRunner (dependency updates, migrations), Hangfire default, custom runner - Admin dashboard: install/register, DashboardOptions, IDashboardAuthFilter access control - Indexes: RepositoryOptions.IndexBuilders, common shapes (unique/sparse/TTL/geo), build/inspect

    @tmm360 tmm360 committed Jul 20, 2026