Table of Contents

Public classStatic IndexMigrationRecovery

Namespace
Rowles.LeanCorpus.Index.Migration
Assembly
Rowles.LeanCorpus.dll

Reads and clears migration markers left by interrupted index migrations.

public static class IndexMigrationRecovery
IndexMigrationRecovery

Public field MarkerFileName

The migration marker file name.

Public method Abandon(string)

Abandons an interrupted migration marker without deleting the staging directory.

Public method GetState(string)

Gets the current migration marker state for indexPath.

Internal methodInternal HasBlockingMarker(string)

Public method RollBack(string)

Rolls back an interrupted migration before publication by deleting only marker and staging files.

Internal methodInternal WriteMarker(string, IndexMigrationMarker, bool)