← All guides

Replication counters explained: why one store falls behind and others don't

Data, integrations & replication · 8 min read · By Dex Carter · Published 2026-10-26 · Last updated 2026-10-26

Open book with a ribbon bookmark in front of three shops, the third shop darker than the other two
One bookmark per store: the position that matters is the lagging store's own.

A replication counter is a bookmark. For each table, it marks the specific line up to which data were last replicated, and the next job replicates all data added since that line (s1 mechanics, stated here in plain terms). Because the bookmark is read per destination, the GetReplCntrFromRemoteDB web service returns the replication counter from the remote location for the table being replicated, one store can sit behind while the rest of the estate is current. The lagging store is not evidence that replication as a whole has stopped. Its bookmark has stopped moving.

That distinction decides the first move. A chain-wide stop and a single-store stop look identical from the till, the new price is missing, a new item will not scan, but they point at different evidence and different fixes. Start with the single store.

What a replication counter actually bookmarks

The documented definition is narrow, and it is worth holding to it. The counter represents a specific line in the table from when data were last replicated. A replication job then replicates all data added since that point. Nothing in that definition promises that every destination holds the same position: the counter is retrieved from the remote location, for the table being replicated, so the position that matters for a given store is that store’s own remote position.

Counters are one of two change-tracking routes. The alternative is actions: GetActionsFromRmtDBV2 returns preactions so that only updated data is replicated. Which route a location uses is not a per-job guess. The Local Distribution Location in Retail Setup defines whether counters or actions are retrieved with web services. Before diagnosing a counter problem, confirm the location is actually on the counter route, a store configured for actions will not be explained by counter evidence.

Spec check. Three claims get repeated loosely in counter discussions, so here is what the sources support. First, the counter marks the last replicated line: supported, in LS Retail help. Second, the job sends what was added since that line: supported, in the same help page. Third, a counter near its ceiling slows or stops replication: not in the vendor help checked for this piece, that claim comes from a single partner source and is handled separately below, labelled as partner-reported.

Why bookmarks diverge per store: the four usual causes

No vendor page lists per-store divergence causes directly, so the honest method is elimination, using the evidence the system does record. Four readings cover most single-store cases, and each one is testable before anything is changed:

Reading at the lagging storeWhat it points toEvidence to pull
The job ran, but its counter range does not reach the missing recordsThe job stopped short of the current position for that tableScheduler Log Lines: the Replication Counter Range the job used
No recent job for that table at that destinationThe bookmark never advanced because no job carried it forwardScheduler Logs for the time frame when the data changed
The missing records do not exist at the Store registerThe problem sits before replication, not inside itCheck for the records at the Store register itself
The counter value itself is extremely largeA possible ceiling problem, partner-reported, not vendor-statedThe Replication Counter page value for that table

The third row earns its place. The documented missing-data sequence starts before any log is opened: first establish the time frame, and check whether the records exist at the Store register. A record that was never created cannot be replicated, and no counter reading will explain its absence.

Short paragraphs matter here. One store behind is a scoping fact, not a verdict.

If every store is behind on the same table, the per-store reading still applies, compare the bookmarks rather than assuming a single shared cause. Two stores can stop at different lines for different reasons, and a fix aimed at the wrong line leaves one of them behind.

Read the evidence: scheduler log counter ranges and Data Director logs

The evidence procedure below follows the documented missing-data sequence. It changes nothing on the system; it assembles the record that the recovery decision then depends on.

  1. Fix the time frame. Establish when the missing data should have moved, when the price changed, when the item was created. Every later step is bounded by that window.
  2. Check the Store register. Confirm the records exist at the Store register. If they do not, stop: the fault is upstream of replication.
  3. Read the Scheduler Logs and Scheduler Log Lines. Find what Replication Counter Range each relevant job used. The range shows where a job started and where it stopped for that table, which is the closest documented record of the bookmark’s movement.
  4. Collect the job files. Take the jobs from the Source Data Director Keep folder for that time frame.
  5. Collect both log sets. Take the log files from both the Source and the Destination Data Director Log folders for the same time frame. One side alone shows only half the exchange.
  6. Compare destinations. Set the lagging store’s counter range beside a current store’s range for the same table and window. The gap between the two ranges is the lag, stated in the system’s own numbers.

What success looks like at this stage is modest and specific: a named time frame, a confirmed record at the register, a counter range for the lagging store, a counter range for a current store, and both sides’ logs in hand. Diagnosis without that set is guesswork with better vocabulary.

The overflow question: checking how close a counter is to its ceiling

One partner source. MR ERP Solutions, writing about slow LS Central performance, reports that LS Central tracks changes with integer counters, and that in older, on-premises deployments 32-bit counters max out near 2.1 billion, after which replication slows and some records stop replicating. The same source advises checking the Replication Counter page and treating counters above 1.8 billion as a danger zone.

Treat those numbers exactly as sourced: partner-reported, checked on 2026-10-26, and absent from the LS Retail help pages reviewed for this piece. Vendor help states no counter size limit and no overflow threshold. That gap cuts both ways. The partner numbers are not a specification, and they are not nothing, a store whose counter reads in the high hundreds of millions or beyond is a store where the question is worth asking, with the value recorded and the source of the threshold stated plainly in any escalation.

The check itself is cheap: read the value on the Replication Counter page for the affected table, note it beside the scheduler log ranges, and let the size of the number decide how much weight the overflow theory carries. A counter in the thousands does not explain a stall through a ceiling that sits, even on the partner account, near two billion.

Reset, rerun, or wait: the recovery decision

Three levers exist, and they are not interchangeable.

Wait when the bookmark is still moving. If successive jobs show the counter range advancing, the store is behind but catching up, and intervention adds risk without adding speed. The evidence for waiting is movement, not hope: two readings, taken apart, with the second range further along than the first.

Rerun when the job stopped short and the underlying stop has been identified from the logs. A rerun asks the system to replicate what was added since the bookmark, the documented counter behaviour, so it suits a bookmark that is valid but stale.

Reset only with the full-rerun consequence understood. The one documented precedent is from LS Insight analytics: after recreating prestaging tables, the guide instructs resetting all replication counters to 0 and rerunning all jobs. Zero is not a nudge. On the counter’s own definition, resetting to 0 tells the next job that nothing has been replicated yet, so a full rerun follows. Applied to one store’s table, that may be the correct recovery for a bookmark that no longer corresponds to reality, and a heavy, estate-wide action if applied broadly without that justification. No source reviewed for this piece sets out when resetting a single store’s counters is safe, so the decision belongs in the escalation record, counter values attached, not in habit.

Verification: proving the lagging store actually caught up

Close the loop with the same instruments that opened it. Re-read the Scheduler Log Lines and confirm the job’s Replication Counter Range now reaches past the records that were missing. Confirm the specific data, the price, the item, is present at the destination, not merely that a job completed. Then compare the store’s position against a store that was never behind: the two bookmarks should tell the same story for that table.

A green job with a stale bookmark is not a recovery. The counter moving to the right line, and the data standing behind it, is.

, Dex Carter, Tech Writer

Keep readingNext: How LS Central and Business Central actually talk to each other →