Skip to main content

Module datadir

Module datadir 

Source
Expand description

Who may use the data directory at once. serve runs alone among servers; a command that rewrites the registry or the tenants’ catalogs runs alone; the other commands run beside a server and beside each other, but never beside a command that runs alone.

Structs§

DataDirLock
The data directory’s locks, held while this value lives: the open files are kept only for their locks.

Enums§

LockError
Why the data directory could not be taken.
Sharing
How a process shares the data directory.
Work
The work a process does in the data directory.

Functions§

lock
Takes the data directory for work that shares it as sharing, or says what holds it.