← Todas as utilidades

NSAdaSync

Versão 26.1 (build 214) Ver a PPT

Esta documentação ainda não existe em português: a mostrar inglês.

NSAdaSync
Índice

What is NSAdaSync

nsadasync (NSAdaSync) is Nacarsoft’s Adabas replication: it keeps Adabas files (Open Systems) in sync with Oracle, PostgreSQL, MySQL, MariaDB, SQLite, MSSQL, MongoDB, Elasticsearch, Kafka and Cassandra without an Event Changes leave the nucleus through a user exit (ADAUEX_4), an in-process supervisor reads them from the FIFO pipe and publishes them to the embedded nsmq broker (in-process, no TCP), and consumers apply each subscription (file → table/collection/topic/index) at the destination, with full initial loads, checkpoints, DLQ replay and auditing.

Adabas nucleus --(UEX4 exit, NSQ2 frames)--> FIFO pipe --(built-in supervisor)--> embedded broker
                                                                                         |
                                         +---------------+---------------+---------------+---------------+
                                         |               |               |               |               |
                                      Oracle/PG/       MongoDB /      Kafka (topics   SQLite          Cassandra
                                      MySQL/MSSQL    Elasticsearch    + tombstones)   (WAL)           (CQL + UDT)

NSAdaSync subscriptions: source files streaming into destination tables

Commercial deck: View the presentation · Get the PDFs

Database, file, table and destination names in the examples are fictitious.

NSAdaSync fan-out: one Adabas source replicated to Oracle, PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB, Elasticsearch, Kafka and Cassandra

NSAdaSync destinations panel: the ten engines with their state, kind and number of subscriptions

Key features

  • Minimal capture in the nucleus: a minimal UEX4 exit (one non-blocking writev per record; never blocks, retries or touches the network) + FIFO + one supervised pipe reader per origin + a persistent fsync-per-batch broker.
  • Ten destinations: Oracle, PostgreSQL, MySQL, MariaDB, SQLite, MSSQL, MongoDB, Elasticsearch, Kafka and Cassandra, with ping/test, table/row inspection and generated DDL. No native clients: built-in drivers (Cassandra speaks CQL with UDTs; see “Cassandra” under Destinations).
  • File → table subscriptions: DDM field mapping (JSON), MU/PE as JSON or child tables, ISN identity and upsert with a _seq recency guard (late events never overwrite newer ones).
  • Computed columns: functions with arguments (left(BB,3), year(DATE), …) evaluated on insert and update (on update only when their source travels in the row), plus the classic stamps (created_at, updated_at).
  • Guided schema evolution, no initial load: a +N new badge detects dictionary fields the mapping does not cover; the assistant previews and applies the additive DDL (nullable columns, new child tables, indexes), saves the mapping and restarts only that worker. Optionally an update-only backfill fills the existing rows of the new root scalars (consumer parked briefly, changes queued in the broker; no counters, checkpoint or load gate touched). Manual Align to destination remains available for column-only alignment.
  • Parallel sharded initial loads: the dump is split into ISN ranges across up to 8 native readers (raisable with the origin’s pool_acc or NSADASYNC_LOAD_SHARDS, capped at 16), with live progress (records/s, ETA) and a stop that keeps what is already applied.
  • Initial load + streaming: merge/empty/drop modes, per-destination capacity (max_loads), checkpoints (high_water_seq) and backlog resume once the table exists. Loads first check destination reachability and origin liveness (409 while either is down).
  • Bulk subscription creation: the «Create multiple» button creates in one go every subscription for the origin files that have none yet, on the chosen destination, with the default mapping.
  • Destination and origin panels: reachability, latency, subscriptions and queued records per endpoint, with detail tooltips; every origin and every destination has a Stop/Resume button (changes queue in the broker and apply on resume) and the banner tells a manual stop from a maintenance window pause.
  • Down destination = queued, not failed: unreachable targets park changes on the broker and resume on their own when back, with no DLQ spam.
  • On-demand, cancellable source ↔ target compare by ISN (counters + per-field diffs); origin and destination rows share one viewer.
  • DLQ with replay: failures never lose events; they are inspected and retried, and replay refuses unmapped fields instead of corrupting (deletes replay by ISN, with no image to decode).
  • Load history with per-entry or bulk delete and per-run age (20h:30m ago).
  • Kafka as a streaming sink: one topic per table, ISN key, tombstones on delete (converges under compaction), idempotence and SASL/TLS.
  • Multilingual web console (Spanish, English, Portuguese, German, French and Italian; pt/de/fr/it carry a translated base with the rest in English): Dashboard, Origins, Subscriptions, Destinations, Schedules, Config, Users, Roles, Logs. Ten visual themes with a cycling button in the sidebar, saved per user and per browser.
  • Machine tokens (nstm_...) with per-subscription scope, expiry and CIDR allowlists (machine API currently disabled; internal traffic uses no tokens).
  • RBAC (18 permissions, Admin/SyncOperators/Viewers roles), every action audited.
  • Scheduling in the console: maintenance windows and tasks (loads/compares) with their own page and a 30 s engine; e-mail notices with per-rule thresholds and an optional daily digest.

Use cases

  • Analytics and BI: replicate to Oracle, PostgreSQL, MySQL or MariaDB and feed reporting live, with no nightly loads and no intermediate files.
  • Event streaming: publish to Kafka with one topic per table, keyed by ISN and a tombstone on delete: it converges with compaction and is idempotent.
  • Search and text: keep one index per table in Elasticsearch, created during the initial load and fed live.
  • Modern applications: MongoDB and SQL Server receive documents and rows that feed APIs and applications without touching the nucleus.
  • Wide-column scale-out: Cassandra/ScyllaDB takes one table per subscription (keyed by isn) with groups as list<frozen<udt>> collections, ready for massive keyed reads.
  • Several targets at once: the same subscription is duplicated onto each target (fan-out), or one subscription per file is created.
  • Consolidation: Adabas Open Systems becomes the source and SQL, NoSQL or the streaming platforms become consumers, not the other way round.

Requirements

  • Linux (RHEL 8/9) with prebuilt binaries (no build dependencies).
  • Adabas Open Systems with LOGGING (CLOG) and LOGRB, USEREXITS=4 and ADAUEX_4=<path>/libnsadasync.so (built with exits/build.sh). Important: the LOGGING=(CB) must be effective — a later blank LOGGING = line in the INI disables it silently and the exit receives no changes (symptom: loads replicate but streaming never advances).
  • One dictionary per origin: nsddm JSON (same semantics as nsadaserver); up to 8 MiB per file.
  • adashow/adarep on the PATH for origin probing (the server only adds /opt/softwareag/Adabas{,/bin} itself).
  • Reverse proxy with HTTPS in production (console :11035; the broker is embedded and listens on no TCP port).

Startup

# Initialise (config.yaml 0600, 0600 db, admin user) and start
./nsadasync init ./data
./nsadasync start ./data
./nsadasync status ./data
./nsadasync stop ./data

Web console at http://host:11035/ (login admin; change the password after the first sign-in). Handy commands: nsadasync passwd [dir] <user> [password] (recover access) and nsadasync license (status, kind, issue date, expiry, license file in use and fingerprint; the same shows in the console About panel).

Architecture

NSAdaSync architecture: Adabas nucleus, UEX4 exit, FIFO pipe, embedded nsmq broker and one worker per subscription

Three stages between the nucleus and the target, each observable:

  1. Nucleus exit (exits/libnsadasync.so, ADAUEX_4). Per record it emits one binary frame (76 B NSQ2 header + raw CL/FB/RB; legacy NSQ1 still accepted) with a single non-blocking writev. It captures everything except the FNRs in NSADASYNC_EXIT_NOFILES; subscription filtering happens downstream (unsubscribed data is dropped before publishing, never touches disk). Without an explicit pipe it stays inert (fail-closed). On outages it spills to the outage journal (<pipe>.journal, 1 GB cap) which the supervisor replays. The exit version (from the product-root VERSION macro plus exits/BUILD) is printed in the init trace. Deletes travel imageless (fb empty): they apply by ISN with no decoding.
  2. Forward supervisor (inside the server; no separate process or token). It keeps one FIFO reader per origin with a pipe_path (reconciles every 30 s), with per-origin spool and journal drain after outages. It publishes to the broker on numeric topics adasync.<dbid>.<FNR>: the pipe/journal rendezvous comes from the Origins row.
  3. Broker + consumers (on the server). The nsmq broker persists one segmented log per topic under data_dir with fsync per batch and enforces retention (retention_bytes 10 GB / retention_hours 72 h). The consumer manager keeps one worker per active subscription (reconciles every 30 s and after every UI change), applies with the destination adapter and advances the high_water_seq checkpoint. When the destination is unreachable the worker parks on the broker with backoff (no checkpoint advance, no DLQ) and resumes when back; when the table is missing it parks the same way until the table exists. Every subscription owns its log (logs/subs/<id>.log, 10 MB rotation) and error counter; debug logs each apply.

Configuration

Origins (source Adabas)

Each origin lives on the Origins page (SQLite), not in config.yaml: name (must be the numeric DBID, e.g. 50: topics are always adasync.<dbid>.<FNR>), dbid, config_file (nsddm JSON), connect, adabas_host/adabas_port (live inspection; empty = localhost, port 0 = adashow TCP port) and pipe_path/journal_path (FIFO + outage-journal rendezvous; an empty journal derives to <pipe>.journal; the pipe must be an absolute path). An origin without a pipe has no streaming (loads and inspection only).

The console validates the dictionary on attach (POST /api/adabas/:db/dictionary, up to 8 MiB, stored at data/ddm/<db>.json), reloads it (POST .../reload), browses files (GET /api/adabas/:db/files), flattened long-name fields (GET .../files/:fnr, with dotted DV.DW paths for PE/MU), the source DDM (GET .../raw?ddm=NAME), flags files without a subscription (GET .../missing-subscriptions, with live counts) and probes the nucleus (GET .../probe, POST .../validate, via adaprobe + adashow/adarep).

The nucleus probe (Inspect button) shows, in one card per origin, the detected Adabas version and the DB*.INI replication parameter checklist with its real and expected values: USEREXITS (with 4), effective LOGGING (CB), ADAUEX_4 pointing at libnsadasync.so, ADATCP/PORTNUMBER (when the live native API is used) and the NSADASYNC_EXIT_PIPE variable (it must match the origin’s pipe_path). Whatever fails is flagged in red. Below it lists the live Adabas files (FNR, name, records) with the catalog validated against the real FDT (per-file match badges, DDM fields missing in the file, dictionary files that no longer exist) and the DDM pool assigned to each FNR.

Nucleus probe under Origins: Adabas version, DB*.INI checklist, live files and catalog validation

Besides the dictionary and the pipe, every origin carries the pool_acc field (parallel native reads per initial load; 0 = automatic up to 8, accepts 0-32 together with NSADASYNC_LOAD_SHARDS, see «Load performance»).

Deleting an origin (DELETE, config.manage permission) cascades: its subscriptions (and destination tables when the destination has drop_on_delete), its DLQ, its load history and its broker topics. An origin still declared in config.yaml cannot be deleted from the console: remove it from the YAML first (notice «cannot delete: config-file entry»).

Nucleus exit

# On the nucleus host
./build.sh                      # in exits/: builds libnsadasync.so
ADAUEX_4=<path>/libnsadasync.so # + USEREXITS=4, effective LOGGING=(CB), LOGRB

Exit variables: NSADASYNC_EXIT_PIPE (mandatory), NSADASYNC_EXIT_NOFILES="(1,2,3)" (FNRs to skip), NSADASYNC_EXIT_JOURNAL (default <pipe>.journal) and NSADASYNC_EXIT_DEBUG=1|2 + NSADASYNC_EXIT_DEBUG_FILE (0600 trace capped at 64 MB; level 2 dumps truncated FB/RB; the boot marker shows the effective values). Without a pipe the exit stays inert and says so once in the trace.

Destinations

KindConnectionNotes
sqlitepath to the file (created in WAL mode on add)Full DDL + inspection; max_loads 1 by default (serialises writers)
postgres/postgresqlDSN postgres://user:pass@host:5432/dbNative upsert + _seq guard; NULs are dropped in text only (kept in BYTEA)
mysql/mariadbDSN user:pass@tcp(host:3306)/dbNative upsert + _seq guard
mssql/sqlserverDSN sqlserver://user:pass@host:1433?database=dbupsert + _seq guard
oracleDSN oracle://user:pass@host:1521/SIDNo native client (go-ora)
mongodb/mongoDSN mongodb://user:pass@host:27017/db (db mandatory)Documents with natively nested groups; collections are created by the load
elasticsearchDSN http(s)://host:9200[/prefix][?apikey=…&insecure_skip_verify=1]One index per table (created by the load); per-field types from the mapping; apikey auth and optional TLS verification skip
kafkaDSN kafka://h1:9092,h2:9092[/prefix][?sasl=plain|scram256|scram512&user=…&pass=…&tls=1]Streaming-only: no initial loads or reads; one topic per table ensured on activation; tombstone on delete; delete keeps the topic; SASL with explicit plain, scram256 and scram512 modes
cassandraDSN cassandra://[user:pass@]h1:9042[,h2:9042]/keyspace[?consistency=local_quorum&dc=dc1&timeout=10]One table per subscription (PRIMARY KEY (isn)) + one UDT per PE/MU group as list<frozen<udt>>, no child tables; the keyspace must exist (never auto-created); upserts as lightweight transactions with the _seq guard (empty/drop loads use fast plain inserts); scalar compare (no collections or secondary indexes)

Common to all: pe_mode (json|child, default json) for the periodic groups, mu_mode (json|flat|child, default json) for the multiple-value fields, isn_named (ISN_<TABLE> instead of isn), groups_as_json (json|simple: the selector for plain —non-periodic— groups; json collapses them into one JSON column, simple ignores the group and every level-2 member becomes a normal column, default simple), skip_supersub (default true: hides superdescriptors and their components), drop_on_delete (deleting the subscription drops parent + children), max_loads (concurrent loads per destination), max_records (0 = uncapped, caps loads), options (free JSON). GET /api/destinations/drivers reports which driver this build ships; use ping (destinations.view) and test (destinations.manage) before replicating, and browse tables and rows (GET .../tables[/:table/rows]; typed columns on SQL and documents; up to 2048 columns listed on wide collections).

Cassandra (CQL)

Cassandra (and ScyllaDB; CQL 4.1/5.0 with a pure-Go gocql driver, no native clients) is a full-fledged destination: it supports merge/empty/drop loads, _seq-guarded streaming, table and row inspection, compare and schema evolution of plain root scalars (align-columns / the evolution assistant). New members inside a group travel in a UDT (list<frozen<udt>>), so adding one requires rebuilding the table; the update-only backfill also supports root scalars only.

-- The keyspace must exist: it is never auto-created
cassandra://user:pass@host1:9042,host2:9042/my_keyspace?consistency=local_quorum&dc=dc1&timeout=10
  • DSN: cassandra://[user:pass@]h1:9042[,h2:9042]/keyspace[?consistency=…&dc=…&timeout=…]; default port 9042, consistency one of one|quorum|local_quorum|local_one|all (default local_quorum), dc filters by datacentre and timeout is in seconds (default 10).
  • What one subscription creates: one table (PRIMARY KEY (isn), or ISN_<TABLE> with isn_named, plus the _op/_seq control columns) and one UDT per group with members (lowercase <table>__<group>), referenced as list<frozen<udt>>. Types first, table second, everything with IF NOT EXISTS. No child tables and no secondary indexes.
  • PE/MU modes: they have no effect on Cassandra (json, flat and child all collapse to the same nesting; mu_flat_max is ignored). Default columns are lowercase, as on mongo/ES/kafka.
  • Loads: as on SQL. empty wipes with TRUNCATE (creating a missing table instead of failing), drop recreates it (DROP TABLE + generated DDL or ddl_override); on empty/drop the writes use fast plain inserts (no _seq consensus round trips); merge keeps the guard.
  • Streaming: every apply is a lightweight transaction (UPDATE … IF _seq < seq, with INSERT IF NOT EXISTS on first writes); deletes are hard DELETEs by ISN under the same guard. No tombstone messages as on Kafka.
  • Compare and inspection: compare walks the table in token order (CQL has no OFFSET) and compares parent-table scalars only; group collections are not compared. Row inspection (.../tables/:table/rows) returns the first page (LIMIT n).

NSAdaSync destinations: all ten kinds with ping and inspection

Console (/config)

A sectioned panel (Server, Mail, License, MQ, Exec…) persisted to config.yaml (0600); saving reports which areas need a restart. Test Email button. Secrets also via environment: NSADASYNC_SMTP_PASSWORD and NSADASYNC_TOKEN_PEPPER (rotating the pepper invalidates every token). Interactive reference at /api/docs + /api/openapi.yaml (apiDocs.access: public|private|off, default private).

SectionMain keys (defaults)
serverhost 0.0.0.0, port 11035, trustedProxies [127.0.0.1, ::1]
authjwtSecret (min 32 chars), tokenPepper, jwtExpiryMin 15, cookieName session, auto secureCookies
mqEmbedded, no TCP; data_dir ./mq-data, retention_bytes 10 GB, retention_hours 72, batch_size 200, batch_timeout_ms 100
sync.defaultsmu_pe json, conflict upsert
correomailer sendmail|smtp, host/port/security/user/password/from, sendmailPath, baseUrl (public URL for links)
databasecontrol SQLite file path
mappingType mapping: default column type per Adabas format and per engine (sqlite, postgres, mysql, mariadb, oracle, mssql, mongo, elasticsearch, kafka, cassandra), editable in the console and overridable per column
execworkDir, 60/300 s timeouts, maxConcurrent 10, 1 MB caps, ratePerMin 600, queueTimeoutSec 20, callRetentionDays 30 (daily audit/DLQ prune; 0 = keep)
logging/license/updates10 MB × 10 rotation, 30 days; trialDays 30; updates URL

Usage

NSAdaSync dashboard: origins, destinations, subscriptions and chain health

The Dashboard shows running loads, destinations and their state (reachability, latency, subscriptions and queued records, with detail tooltips) and origins and their state (nucleus activity and forwarder heartbeat) side by side, plus per-subscription states, I/U/D totals, the change chart, queued records per subscription, chain health and consistency. Origins and destinations can be stopped and resumed (Dashboard and their own pages): stopping queues every change in the broker and applies it at resume; the banner separates intentionally stopped endpoints from a real outage — and a maintenance window never touches what was stopped by hand.

Subscriptions

One subscription = one file (origin, FNR, DDM) → (destination, table) with a field mapping, pe_mode, mu_mode, mu_flat_max, ddl_override, is_active and debug. Names are unique (suffixed per destination) and a (destination, table) pair cannot be claimed twice. filter_expr is stored with the subscription (reserved). Empty pe_mode and mu_mode inherit the destination values; mu_flat_max is mandatory when mu_mode=flat.

The mapping is a column JSON [{adabas, column, mode?, type?, length?, precision?, index?, func?}] where adabas is the short DDM name; without an entry the dictionary type and default column apply (sanitised long name, short fallback; on mongo/ES/kafka/cassandra, the lowercase path). index: false un-indexes even when the DDM marks a descriptor. Recommended flow: Prepare (POST .../prepare, validates the FDT against the dictionary) → Preview DDL (POST .../preview-ddl, no execution) → Ensure table (POST .../ensure-table, creates parent + children + indexes and stores the latest DDL error on the row) → Load → streaming.

View DDL (button in the editor header): shows the parent-table CREATE and the indexes, tabbed. You can edit and save it with the subscription —replacing the generated DDL (ddl_override)—, «Regenerate» discards the custom command and goes back to the generated one, and child tables are always generated by the console. «Create table» also accepts Force drop if exists (DROP + recreate); when it creates a new table it resets CRUD counters and dates, the error counter, pending DLQ and the subscription log (leaves the subscription inactive and leaves the checkpoint untouched).

Every subscription can also show the destination structure: the DDL with which the table was actually created in the target («Structure» view).

View DDL and the custom DDL editor of a subscription with its indexes

Bulk create («Create multiple»): pick an origin database and a destination; the console lists the origin files without a subscription toward that destination (log sinks excluded), you tick the ones you want and they are all created at once with the default mapping (name fnr_ddm).

Bulk subscription creation: origin files without a subscription toward the chosen destination

Duplicate also chooses the clone’s checkpoint: from zero (full reload on the new destination) or from current (only the deltas after the load point, no reload).

Custom fields (+ button in the field table): opens a modal to add an Adabas field (pick from the pending list with level, short, format and length; you define column, type, length, precision, mode and index) or a computed column. Computed columns always go last and exist in DDL, loads, streaming and replays. After editing, the evolution assistant (+N new badge / POST .../evolution) is the complete path: it creates missing child tables, adds nullable columns and indexes, saves the mapping and can backfill the new root scalars. The manual Apply to destination (POST .../align-columns) still adds missing columns without touching data, counters or checkpoint (409 while a load runs or the table does not exist yet), but it does not create missing child tables/indexes and never backfills.

Computed functions (Computed tab of the modal): every computed column is an expression with arguments (left(BB,3)), where the source field is named by short, long or path name. v1 catalog:

FunctionEffect
created_at / updated_at / timestamp() / today()Time stamps (insert / insert+update / now / YYYY-MM-DD date)
left(f,n), right(f,n), substr(f,start[,len])Substrings (1-based, VARCHAR(n) in DDL when n is a literal)
upper(f), lower(f), trim(f)Uppercase, lowercase, space trimming
concat(f1,f2[,...]) (up to 8)Concatenation (accepts 'literals')
concat_ws(sep,f1[,...]) (up to 8)Concatenation with separator (the separator is a literal)
replace(f,from,to)Substitute text (empty from returns the value as-is)
lpad(f,n[,c]), rpad(f,n[,c])Pad to n characters (VARCHAR(n) in DDL; never truncates, like SQL; c is one character, blank by default)
length(f)Character count (integer)
year(f), month(f), day(f)Parts of a YYYYMMDD date (integer)
abs(f), round(f[,dec])Absolute value and rounding (numeric)
coalesce(f,default)First non-empty (0 counts as a value)

Semantics: on insert every function evaluates (full row); on update (partial: only the affected columns travel) a function is re-evaluated only when one of its sources comes in the row — when the row carries the computed column without its sources, the carried value is kept; delete touches nothing. A missing or unusable source (non-numeric number, dateless year()) writes nothing; an empty text source writes "". Sources must be scalar fields mapped on the parent table (no PE/MU members, blobs or other computed columns): saving rejects them with 400 and Validate fields flags them. DDL infers the type (VARCHAR(n), BIGINT, NUMERIC, TEXT, TIMESTAMP); explicit Type still wins. Compare ignores computed columns (they derive from the origin, they do not exist in it).

Duplicate (POST .../duplicate) clones the subscription onto another destination (fan-out, inherits filter and modes; as above, you pick from zero or from the current checkpoint); Compare (POST/GET .../compare, cancellable, 409 while one runs) walks by ISN and returns counters (read/total/outdated/missing/extra) + per-field diffs; when it finishes it also shows the process report (end time, elapsed time, CPU and memory); origin rows render in the same panel as destination rows (table/form, ISN search, paging); debug makes the worker log each apply (errors always) to logs/subs/<id>.log; reset-counters zeroes the counters; the per-subscription log (GET .../log?lines=200, max 1000; DELETE clears it).

StateMeaning
okActive, table exists, origin/destination counts match
cargando / en_colaAn initial load owns the tables (or waits for capacity); live/replay park
sincronizandoThe consumer is catching up with changes that happened during its initial load
diferenteInformational only: the target transiently lags; content is verified with compare
pendienteActive without a finished initial load: not replicating yet, changes queue in the broker
sin_tablaActive without a table: the consumer parks on the broker without DLQ spam; creating the table resumes the backlog (on mongo/ES the load creates it; on cassandra ensure-table or the load creates it; on kafka the topic is ensured on activation)
pausadaThe origin or destination it serves is stopped (by hand or maintenance window); changes wait in the broker and replay at resume
errorConsumer error or pending DLQ (see reason)
inactivais_active=false (ON/OFF switch)
desconocidoOrigin unreachable for counting or destination not verifiable

NSAdaSync subscriptions panel: the state of each subscription, the initial load, the I/U/D counters and the control SEQ

Initial loads, journal and DLQ

Loads (POST /api/loads {subscription_id, mode}, loads.run; POST /api/loads/batch for several; GET /api/loads[/:id], POST .../cancel, DELETE .../:id and DELETE ...?subscription_id= to delete finished history — 409 while a load is active): modes merge (default), empty and drop (the latter two require a SQL/mongo/ES/cassandra destination; kafka refuses the load with 501: it is streaming-only, activating is enough). Before queueing, a load requires a reachable destination and an active origin (409 while either is down) and ready tables (409 instead of dying mid-run). Capacity follows per-destination max_loads (the rest queue); on restart, interrupted loads park as cancelled and queued ones resume on their own (Resume). Each run shows its age (20h:30m ago).

Initial-load history with modes (Merge / Empty contents / Drop and recreate), reg/s and the process report

Live progress: while it runs, the load modal and the wizard show records/s, ETA and elapsed time, and the Stop button interrupts it keeping what is already applied. After queueing the load you can close the wizard and keep it running in the background; the Dashboard follows the in-flight progress.

Process report: when it finishes, every initial load shows the end time, the elapsed time and the CPU/memory it consumed (Fin: 2026-10-20 22:21:16 · Elapsed: 16 s · CPU: 184.2 % · Memory: 163.6 MB). The same values are exposed by the API (GET /api/loads[/:id] → finished_at, duration_ms, cpu_percent, rss_mb) and stored in the database, so the report can be queried or exported without running anything again.

Backfill jobs created by schema evolution share the same history panel with mode Backfill, but they are not initial loads: they only run UPDATE on the new columns by ISN, never insert/delete/truncate and never move the checkpoint or reset counters. While one runs the consumer parks (changes queue in the broker) and then replays them; SQL uses COALESCE(column, ?) so a value already written by the live stream is never overwritten. Progress, cancellation and per-run metrics work like any other load; plain root scalars only (groups, MU/PE and child columns are skipped).

Journal (GET /api/journal/status, journal.read): per-subscription high_water_seq checkpoints. System/Health (GET /api/system, /api/health, plus the aggregate GET /api/health/endpoints with destinations and origins, subscriptions and backlog): global health with destination reachability. MQ (GET /api/mq/status): adasync.<dbid>.<FNR> topics with offsets and checkpoints; inspection (GET .../topics/:topic/messages), purge (POST .../purge {mode: all|to_offset, offset}, mq.manage) and delete (DELETE, mq.manage). Broker retention plus the daily audit/DLQ prune (callRetentionDays) bound disk usage.

DLQ (GET /api/dlq, dlq.view): failed entries; replay (POST /api/dlq/:id/replay) and delete (DELETE, dlq.replay), with “Retry all” in bulk from the subscription error panel and from the Dashboard DLQ modal (summary {ok}/{n}). Replay refuses unmapped fields (unmapped fields… check catalog) instead of corrupting the target; deletes replay by ISN with no image to decode.

Load performance

  • Parallel sharded loads: the dump is split into ISN ranges across up to 8 parallel native readers (the number scales with the file size); the origin row’s pool_acc (0 = automatic, up to 32 allowed) or the NSADASYNC_LOAD_SHARDS variable force it higher. Absolute cap: 16 shards (16 native read sessions per origin). More shards = faster loads at the cost of more pressure on the nucleus.
  • Dump format: NSADASYNC_LOAD_FMT=bin (default, NSL1 frames) or json (legacy); NSADASYNC_LOAD_WORKERS and NSADASYNC_LOAD_DECODERS tune decode parallelism.
  • Origin control: NSADASYNC_DUMP_MF (default 200), NSADASYNC_DUMP_BLOCK (default 65536) and NSADASYNC_DUMP_SHIFT (range control); the build/bench_dump.sh script measures the real dump rate and NSADASYNC_CPUPROFILE produces a CPU profile.
  • Fast paths: on merge against an empty table writing uses direct insert (no upserts, no per-child work) after a LIMIT 1 probe; on empty/drop, MongoDB/Elasticsearch/Cassandra use dedicated bulk writers.

Schema changes: no initial load needed

The initial load is only the first fill. Once the subscription is streaming, the schema evolves without loading again. When the dictionary gains fields the mapping does not cover, the subscription row shows a +N new badge; the + evolution assistant is the guided path:

ScenarioWhat to doInitial load?
Adabas changes (new field in the file, updated DDM)Reload the dictionary (POST /api/adabas/:db/reload), open the assistant and select the suggested fields. It previews the additive plan (ALTER TABLE … ADD COLUMN, CREATE TABLE for new groups, indexes), applies it, saves the mapping and restarts only that workerNo
You want the historical rows filledKeep Fill existing rows (new columns only) checked in the assistant: an update-only job writes just the new root scalars by ISN. The consumer parks briefly (changes queue in the broker) and then replays them; no counters, checkpoint, load gate or DLQ are touchedNo
The target changes (new column, corrected type)The upsert respects the column; if the type does not fit, fix it with manual DDL (Align to destination only adds columns)No
The target table is droppedThe subscription goes sin_tabla and the worker parks in the broker (not an error, and it does not pollute the DLQ); recreate it (Prepare → Create table) and the backlog resumesNo

API: GET /api/subscriptions/:id/evolution returns the dictionary drift and the destination plan; POST /api/subscriptions/:id/evolution accepts {add:[{adabas,column,mode,type,length,precision,index}], dry_run, create_indexes, backfill, base_fields}. base_fields (the mapping the console loaded) returns 409 if someone edited it meanwhile. The flow is strictly additive: no DROP, DELETE, TRUNCATE or type change; unique indexes on brand-new empty columns are deferred (SQL Server allows a single NULL), and the mapping is saved only after the destination accepted every change.

If a field arrives that is neither in the dictionary nor in the mapping, the apply is rejected with unmapped fields… check catalog and the entry goes to the DLQ: fix the mapping and replay it — no reload either. New unmapped fields whose format the decoder does not implement yet (F/L/B/G) are now skipped instead of parking every event; a mapped field with one of those formats still fails loudly in the DLQ.

NSAdaSync subscription editor and schema-evolution assistant: field validation, DDL preview, table creation and apply to destination

Evolution assistant: new dictionary fields with destination type, column and mode, applied to the destination with no initial load

Notes: unique indexes on brand-new columns are deferred until the column has data. Cassandra evolution/backfill supports plain root scalars only (new members inside a group/UDT need a table rebuild). MongoDB, Elasticsearch and Kafka need no DDL: the mapping update is enough and the field materialises on the next write; historical backfill is not available for those three document/log targets. align-columns remains a manual, column-only alignment on DDL targets; it neither creates missing child tables/indexes nor backfills.

PE groups and MU multiple fields

The treatment of groups and of multiple fields is chosen apart, per destination and per subscription (the subscription wins over the destination; empty = inherit):

SelectorValuesApplies to
Groups (PE)json | childperiodic groups and groups with subfields
Multiple fields (MU)json | flat | childfields with multiple occurrences (MESES, DES-BENEFICIARIO…)
Max occurrences1…999 (subscription only)mandatory when the MU mode is flat
  • Groups json: the whole periodic group travels as one JSON document (native arrays on MongoDB/ES/Kafka). child: normalized child tables, resolved the same way in the DDL, the loads and the applies.
  • MU fields json: every occurrence in one JSON column. child: one row per occurrence in a child table (VALUE column). flat: the occurrences are expanded into numbered columns of the same table: if MESES has 8 occurrences and the mode is flat with a maximum of 8, the table carries MESES_1, MESES_2 … MESES_8.
-- SQL target with an MU field of 8 occurrences in flat mode (max 8)
CREATE TABLE "CLIENTES" (
  "ISN_CLIENTES" INTEGER PRIMARY KEY,
  "MESES_1" TEXT, "MESES_2" TEXT, "MESES_3" TEXT, "MESES_4" TEXT,
  "MESES_5" TEXT, "MESES_6" TEXT, "MESES_7" TEXT, "MESES_8" TEXT,
  ...
);

Details of the flat mode of an MU field:

  • The number of occurrences is set per subscription (mu_flat_max, 1…999) and is mandatory when the mode is flat; without it the API answers 400.
  • When a record is applied, the 1st occurrence goes to MESES_1, the 2nd to MESES_2, and so on; the missing ones stay NULL.
  • If a record carries more occurrences than the maximum, the first ones are kept and the rest are dropped with a warning in the subscription log (logs/subs/<id>.log): replication keeps running.
  • It works the same in SQL and in documents (MongoDB, Elasticsearch, Kafka): there the field is stored with the same numbered names.
  • The DDL is generated with the numbered names; raising mu_flat_max adds the extra columns with the evolution assistant (or manual align-columns) without touching data, counters or checkpoint. MU columns are not part of the update-only backfill: existing rows stay NULL in the new occurrences until the record changes.
  • The origin ↔ target compare checks every occurrence against its column.

The explicit mode of a field in the mapping (the “Mode” column) wins over the selector: an MU field can be marked flat even when the destination uses json. With groups_as_json the destination also collapses the plain groups into one column.

Cassandra: the selectors do not apply. Every group with members produces one UDT (<table>__<group>) and one list<frozen<udt>> column: no child tables even when child is requested, no numbered columns even when flat is requested. Compare covers parent-table scalars only.

The identity is isn (or ISN_<TABLE> with isn_named) and the conflict is resolved with upsert + the _seq guard (a late event never overwrites a newer one).

mu_pe: json stores the whole periodic group as one JSON document (native arrays on MongoDB/ES/kafka); child builds normalized child tables (resolved identically in DDL, loads and applies). With groups_as_json the destination collapses groups into one column. Identity is isn (or ISN_<TABLE> with isn_named) and conflicts resolve with upsert + the _seq guard (a late event never overwrites a newer one).

Command line

nsadasync init ./prod [--force]              # project (0600 config, db, admin; --force overwrites)
nsadasync token ./prod --name poller --scope VENTAS --days 365 --cidr 10.0.0.0/8
nsadasync token ./prod --list                # prefix, name, scope, expiry, revoked, last use
nsadasync token ./prod --revoke nstm_a1b2c3d4
nsadasync passwd ./prod admin [newpass]      # emergency (min 8 chars)
nsadasync start|stop|restart|status ./prod [--port N]
nsadasync license                            # status, kind, expiry, fingerprint
nsadasync notify test|status                 # test notice and rules/incidents
nsadasync schedule list|rm <id>              # scheduled rules

stop and restart drain gracefully: they wait (bounded) for in-flight applies to finish before exiting, so an ordered restart never parks records in the DLQ with context canceled. init --force rewrites the config.yaml and deletes the project’s SQLite database.

Email notifications

NSAdaSync can notify by email when something changes in the replication. The engine evaluates the state (destinations, origins, subscriptions, DLQ, loads and licence) and notifies only when something changes, not on every check; while the problem lasts it reminds every reminder (4 h by default) and the recovery notice goes to the same recipients as the original one.

Enable and tune it in the console (Configuration → Notifications) or in config.yaml (the notify section):

notify:
  enabled: true
  methods: email
  recipients:
    critical: ["dba@empresa.com"]
    warning: ["data-team@empresa.com"]
    info: []
  intervalSec: 60
  reminder: 4h
  quiet: { enabled: false, from: "22:00", to: "07:00" }
  rules:
    destination_down: { enabled: true, severity: critical }
    lag_high: { enabled: true, severity: warning, threshold: 1000 }
EventSeverityWhen it fires
destination_downcriticala destination does not answer (changes queue up)
origin_stoppedcriticalan origin is stopped with active subscriptions
dlq_pendingcriticalthere are changes that could not be applied
load_failedcriticalan initial load ends in error
subscription_errorwarninga subscription stays in error
table_missingwarningthe target table is missing (backlog waiting)
lag_highwarningmore queued changes than the threshold
destination_slowwarningtarget latency above the threshold
broker_diskwarningthe queue broker is near its disk limit
license_expiringwarningthe licence expires in a few days
login_failureswarningseveral failed sign-in attempts in a row
destination_recoveredinfoa destination comes back (the backlog is applied)
load_okinfoan initial load finishes successfully
subscription_changeinfoa subscription is created or changed

Severity: only active rules notify; every rule accepts its threshold parameters — threshold for lag_high (1,000 default), min for dlq_pending (1) and login_failures (5), thresholdMs for destination_slow (2,000 ms), thresholdPct for broker_disk (85 %), days for license_expiring (7) and windowMin for repeated bursts.

Daily digest: info-severity notices can be grouped into a single daily e-mail with notify.digest { enabled: true, hour: "08:00" } (disabled by default).

From the CLI: nsadasync notify test [address] sends a test notice and nsadasync notify status shows the rules, the open incidents and the last notices sent. The history is stored and available in the console and at GET /api/notifications.

Programming

NSAdaSync brings its own scheduling engine (it does not use the system cron): every 30 s it evaluates the rules and fires the ones that are due. In the console it lives under Programming (side menu), with a summary of active rules, open windows and next run, and the Panel shows how many rules are programmed and when the next one runs.

Programming page: maintenance windows and tasks with their next run

Maintenance window: pauses the replication of an origin, a destination or all of them between two times (daily, weekly, monthly or one-off recurrence). During the window the changes queue in the broker and are applied when it ends. When the window opens, the previous state of every endpoint is stored, so:

  • what was already stopped by hand is left alone;
  • when it closes, only what the window stopped is resumed;
  • the console tells a manual stop from a scheduled pause apart.

Scheduled tasks: an initial load (merge/empty/drop) or an origin-vs-destination compare of a subscription, with a time and a recurrence. If a load is already running, the task is skipped and an e-mail notice is sent; with catch_up it runs even if the time passed while the server was down.

Bulky data is not stored in the database: the detail of a compare (up to 200 differences with values) is written to a JSON file in the data directory (compares/*.json); the database keeps the summary (counters + an excerpt of 10 differences + the file path) and the execution history, bounded.

Every e-mail notice (window opened and closed, task skipped, error, finished load and compare result) carries the date and time of the event.

GET  /api/schedules · /api/schedules/summary · /api/schedules/runs
GET  /api/schedules/compares   (summaries of the compares)
POST /api/schedules · POST /api/schedules/:id/run
PUT/DELETE /api/schedules/:id

The history is bounded and pruned with the usual retention (30 days by default): the notices, the executions (the last 20 per rule), the compare summaries and the compares/*.json detail files.

From the CLI: nsadasync schedule list and nsadasync schedule rm <id>.

Storage: the control database stays small

The control SQLite database holds the configuration and the state, never the volume of the data: the compare detail goes to files, the e-mail body is not stored and the replicated records go to the destination. So that it does not grow with the traffic, everything that grows has a cap (exec):

ParameterDefaultWhat it caps
maxDlqEntries1,000failed records kept in the DLQ (the oldest are dropped)
maxDlqPayloadBytes65,536size of the stored failed record; bigger records are trimmed and flagged (kept for the trace, cannot be replayed)
maxLoadHistory200initial loads kept per subscription
maxAuditRows50,000audit rows
checkpointFlushRecords / checkpointFlushMs50 / 500 msgrouping of the streaming writes (the checkpoint and the I/U/D counters in one UPDATE per batch)

On top of that, the daily retention (callRetentionDays, 30 days) drops what is old, at start-up a VACUUM runs when the file has more than 30 % of its pages free (SQLite does not return them on its own) and the WAL is folded and emptied every day. The Panel shows a disk usage card (control DB, WAL, free pages, logs, broker, DLQ) and the same is available by API at GET /api/system/storage.

With thousands of transactions per hour the streaming path stops touching the disk once per record: the checkpoint and the counters are written in batches (every 50 records or every 500 ms). On restart the last window is replayed, idempotently (every destination keeps the _seq of the last applied record).

Deployment manifest

When editing a subscription, the Deploy button shows a window with a JSON manifest (nsasync-deploy/1) holding everything a tool like nsadadb needs to deploy it: source (dbid, fnr, ddm_name), destination (kind, dsn, table, ISN column), column mapping, effective group treatment (pe_mode, mu_mode, mu_flat_max) and the ready-to-run copy/compare/sync commands (Commands tab, with Copy and Download). By API: GET /api/subscriptions/:id/deploy (subscriptions.manage permission).

The manifest carries the DSN with its secrets (no deployment runs without it): handle it as credentials. It includes warnings when the deployment cannot be faithful: child/flat groups (nsadadb only supports -mu-pe json), renamed columns (nsadadb derives the name from the DDM), non-transferable filter_expr and ddl_override, and the dictionary (db<DBID>.json) travelling separately as nsadadb -config.

Process report

The scheduled compares keep their report in the Scheduled compares table (Process column: elapsed time, CPU and memory) and in compare_summary (duration_ms, cpu_percent, rss_mb). The diffs themselves still live in <dir>/compares/*.json, never in the database.

Deleting: every report has its own bin button (it removes the row and its detail file) and the header offers Delete all. By API: DELETE /api/schedules/compares/{id} (one) and DELETE /api/schedules/compares (all of them; it accepts ?subscription_id= and ?older_than_days=). Permission: schedules.manage. Deleting a report never touches the origin or the destination.

Automatic cleanup: the daily retention (exec.callRetentionDays, 30 days by default) removes the oldest reports and, on top of that, no more than 50 are kept per subscription.

Users, groups and permissions

Single-tenant RBAC: system roles Admin (everything), SyncOperators (operate subscriptions, destinations, journal, loads and DLQ: dashboard.view, subscriptions.view, destinations.view, journal.read, loads.run, dlq.view, dlq.replay, calls.view, logs.view) and Viewers (read-only); groups Administrators, Operators, Readers. The catalog refreshes on every boot. Users (GET/POST /api/users, PUT/DELETE /api/users/:id, PUT .../active, PUT .../groups, all under users.manage); roles and groups are listed (GET /api/roles, /api/groups). Email recovery (/forgot-password, POST /api/auth/forgot-password, POST .../reset-password) when mail is configured; otherwise nsadasync passwd.

PermissionCovers
dashboard.viewDashboard and states
subscriptions view|manageView / create, edit, delete, ensure-table, align-columns, evolution (+ optional backfill), duplicate, debug
destinations view|manageView, ping / create, edit, delete, test
journal.readJournal, system, health (+endpoints), MQ (read)
mq.manageTopic purge and delete
loads.runStart, cancel and delete loads
dlq view|replayView / replay and delete entries
calls.view, logs.viewCalls and audit/logs
schedules.manageSchedules: maintenance windows, scheduled loads and compares, run now
notifications.manageAlert rules (test and tune predicates/severities)
tokens view|manageView / create, revoke and delete tokens
users.manageUsers, roles and groups
config.manageConfiguration, mail test, origins and dictionaries

Machine tokens (nstm_..., shown only once) carry a subscription or all scope, expiry (--days, 0 = never) and source CIDR/IP allowlists; they are stored as HMAC-SHA256 with the pepper (rotating it invalidates them all). The machine API (/api/ext) is disabled in this version: all traffic is local console or loopback.

POST /api/auth/login · /api/auth/refresh · POST /api/auth/logout
POST /api/auth/forgot-password · POST /api/auth/reset-password
GET  /api/auth/me · POST /api/auth/{theme,language}
GET  /api/version · /api/license · /api/docs · /api/openapi.yaml
GET  /api/subscriptions · /api/subscriptions/states · /api/subscriptions/check-name
POST /api/subscriptions · PUT/DELETE /api/subscriptions/:id
GET  /api/subscriptions/:id/log · DELETE .../log
POST /api/subscriptions/:id/{debug,reset-counters,ensure-table,align-columns,prepare,duplicate}
GET  /api/subscriptions/:id/evolution · POST /api/subscriptions/:id/evolution
POST /api/subscriptions/{preview-ddl,validate-fields}
POST /api/subscriptions/:id/compare · GET .../compare · POST .../compare/cancel
GET  /api/subscriptions/:id/origin-rows
GET  /api/adabas/databases · GET /api/adabas/:db/files[/:fnr[/raw]]
GET  /api/adabas/:db/missing-subscriptions · GET /api/mapping-template
PUT/DELETE /api/adabas/databases/:db · POST /api/adabas/:db/{dictionary,reload}
GET  /api/adabas/:db/probe · POST /api/adabas/:db/validate
GET  /api/destinations · /api/destinations/drivers
POST /api/destinations · PUT/DELETE /api/destinations/:id
PUT  /api/destinations/:id/active · PUT /api/adabas/databases/:db/active
POST /api/destinations/:id/ping · POST /api/destinations/test
GET  /api/destinations/:id/tables[/:table/rows]
POST /api/loads[/batch] · GET /api/loads[/:id] · POST /api/loads/:id/cancel
DELETE /api/loads/:id · DELETE /api/loads?subscription_id=
GET  /api/journal/status · /api/system · /api/system/storage · /api/health · /api/health/endpoints
GET  /api/mq/status · GET /api/mq/topics/:topic/messages
POST /api/mq/topics/:topic/purge · DELETE /api/mq/topics/:topic
GET  /api/dlq · POST /api/dlq/:id/replay · DELETE /api/dlq/:id
GET  /api/notifications · GET /api/notifications/rules
GET  /api/users · /api/roles · /api/groups · /api/tokens · /api/audit
GET  /api/config · PUT /api/config · GET /api/config/disk · POST /api/config/test-email

Everything lands in the audit log (LOGIN/LOGOUT/LOGIN_FAILED, SUBSCRIPTION_* (also DEPLOY, DUPLICATE, DEBUG and LOG_CLEAR), DESTINATION_*, ORIGIN_DELETE, TABLE_CREATE/TABLE_DROP*/TABLE_ALIGN, SCHEMA_EVOLVE, LOAD_*/LOADS_DELETE/BULK_LOAD, PREPARE, MQ_TOPIC_*, DLQ_*, TOKEN_*, USER_*, SCHEDULE_*, NOTIFY_TEST, ADABAS_ENV_SAVE/DICT_UPLOAD/DICT_VALIDATE/ADABAS_PROBE, FORGOT_PASSWORD_*, PASSWORD_*, CONFIG_SAVE, EMAIL_TEST, with client IP). Sessions last jwtExpiryMin (default 15 min); on expiry the console returns to login.

Security

Console audit log: actions, user, date and client IP

  • HS256 JWT with configurable expiry (default 15 min; no silent refresh: expiry returns to login), brute-force protection on login/reset, bcrypt passwords (cost 12) and single-use reset tokens.
  • config.yaml (0600) and DB (0700); secrets redacted from GET /api/config and never logged; machine tokens as HMAC hash + visible prefix, with CIDR allowlists and expiry.
  • server.trustedProxies (loopback by default) so audit/rate-limit IPs cannot be spoofed; auto Secure cookies (TLS/X-Forwarded-Proto); Content-Security-Policy, X-Content-Type-Options, Referrer-Policy and Permissions-Policy headers.
  • Names of subscriptions/tables, DDL, DSNs and paths (config_file, path, pipe/journal) are validated and sanitised; topics are always numeric and there is no remote agent here (everything is local).

Installation state and control

  • Start and stop: nsadasync init|start|stop|status <dir>; the process starts the forward supervisor, the embedded broker and the workers of the active subscriptions, and stops them cleanly.
  • State: nsadasync status <dir> and the console panel (origins, destinations, subscriptions, queued records, DLQ, chain health).
  • Resumption: on restart, interrupted loads are parked as cancelled and queued ones resume on their own; the broker backlog is applied in order and every subscription continues from its checkpoint.
  • CLI operations: nsadasync passwd <dir> <user> [password] (recover access), nsadasync token <dir> --name … --scope … --days … (machine tokens), nsadasync restart <dir> (drained stop plus start in one step) and nsadasync license (installation status).
  • Auditing: every action is recorded in the console (LOGIN, SUBSCRIPTION_*, DESTINATION_*, LOAD_*, DLQ_*, TOKEN_*, USER_*, CONFIG_SAVE…) with user and client IP, and in the log of each subscription (logs/subs/<id>.log).

Troubleshooting

  • Exit emits nothing (loads replicate but streaming stalls): besides ADAUEX_4, USEREXITS=4 and CLOG+LOGRB, check that LOGGING=(CB) is effective: a later blank LOGGING = line in the INI disables it silently (it does not show in PARSET) and the exit receives no changes. With NSADASYNC_EXIT_DEBUG_FILE you get the init trace and every pipe/journal event.
  • adaopr db=<id> disp=hi aborts with Signal 8: a Software AG bug (divide-by-zero in dis_hwm of libadautl.so while formatting high-water marks), not the exit: the nucleus stays alive. Avoid that display.
  • Forwarder publishes nothing: check the Origins row pipe_path / journal_path, the per-origin spool and that the supervisor is reading the FIFO ([FORWARD] log); with no reader the exit spills to the journal and the supervisor replays it on return.
  • Down destination: changes queue on the broker (see the per-point backlog on the destinations panel) and resume on their own; nothing goes to the DLQ. Check with ping/test, GET /api/health/endpoints and GET /api/destinations/drivers (the build may lack that driver). Initial loads refuse with 409 until the target answers.
  • Stopped origin: the initial load refuses with 409; streaming simply receives no more changes (the backlog is kept).
  • sin_tabla subscription: parking, not an error — create the table (ensure-table) and the broker backlog resumes (on kafka, just activate: the topic is ensured alone).
  • Permanent diferente: normal while live (transient lag); if content diverged, run an ISN compare.
  • DLQ with unmapped fields: the DDM does not cover those fields — extend the dictionary or the mapping, then replay.
  • Load stuck in cargando/en_cola: see GET /api/loads/:id (per-destination max_loads capacity); cancel and relaunch; on restart, interrupted loads park themselves. History deletes per entry or in bulk (DELETE /api/loads[/:id]).
  • Edited the mapping and columns are missing: open the evolution assistant (+N new badge): it adds columns, missing child tables and indexes, saves the mapping and can backfill the new root scalars — no initial load. Manual Align to destination only adds columns.
  • Existing rows are NULL in a new column: that is expected until the record changes; check Fill existing rows in the assistant or re-run a backfill. Groups/MU/PE and child columns are not backfilled by this job.
  • Compare 409: one compare per subscription at a time; cancel it or wait.
  • Rejected token: check scope, CIDR and expiry; if you rotated the pepper, reissue every token. The machine API is disabled in this version.
  • No files on the origin: check config_file (valid nsddm JSON, ≤ 8 MiB) and connect; use the origin probe/validate.
  • Expired session: back to login (no silent refresh); tune jwtExpiryMin for long sessions.
  • Port in use: change server.port (11035) in config.yaml.

Também disponível em: es

Utilizamos armazenamento local (localStorage) para recordar o seu idioma e tema visual. Não instalamos cookies de terceiros. Se o Google Analytics estiver configurado, só será ativado após aceitar. Mais informações na nossa Política de Cookies.