Hello everyone,
After an upgrade to 389-ds-base-3.2.3-5.fc44.x86_64, we have some issues with the periodic AD sync, which fails with the following error:
ERR - NSMMReplicationPlugin - windows sync - send_updates - agmt="cn=ad......" (ad.....:636): Missing data encountered
ERR - NSMMReplicationPlugin - windows sync - windows_inc_run - agmt="cn=ad......." (ad-.....:636): Incremental update failed and requires administrator action
The fix we applied so far is to do a poke or initialize, which works, but it just fails again with the same error on the next sync.
There were no issues with the sync until the version upgrade
The debug logs that seem relevant around the time of the sync fail are posted at the end of the email.
We are stuck on how to debug this better and find the root cause.
Any ideas what can cause this or what further debugging steps we can do?
[12/Nov/2026:00:04:29.279247711 +0200] - DEBUG - csngen_adjust_time - gen state after 6af4e66d0002:1794434669:0:0
[12/Nov/2026:00:04:29.281791488 +0200] - DEBUG - NSMMReplicationPlugin - changelog program - _cl5PositionCursorForReplay - (agmt="cn=ad......" (ad-....:636)): Consumer RUV:
[12/Nov/2026:00:04:29.283291873 +0200] - DEBUG - NSMMReplicationPlugin - agmt="cn=ad......" (ad....:636): {replicageneration} 547f9354000000010000
[12/Nov/2026:00:04:29.284788276 +0200] - DEBUG - NSMMReplicationPlugin - agmt="cn=ad......" (ad.....:636): {replica 1 ldap://ldap......:389} 547f9663000000010000 6af4e66c000a00010000 6af4e66d
[12/Nov/2026:00:04:29.286574364 +0200] - DEBUG - NSMMReplicationPlugin - changelog program - _cl5PositionCursorForReplay - (agmt="cn=ad......" (ad....:636)): Supplier RUV:
[12/Nov/2026:00:04:29.288268586 +0200] - DEBUG - NSMMReplicationPlugin - csnplCommitALL: committing all csns for csn 6af4e66d000000010000
[12/Nov/2026:00:04:29.291100424 +0200] - DEBUG - NSMMReplicationPlugin - csnplCommitALL: processing data csn 6af4e66d000000010000
[12/Nov/2026:00:04:29.292975381 +0200] - DEBUG - NSMMReplicationPlugin - ruv_update_ruv - Successfully committed csn 6af4e66d000000010000
[12/Nov/2026:00:04:29.295863154 +0200] - DEBUG - NSMMReplicationPlugin - ruv_update_ruv - Rolled up to csn 6af4e66d000000010000
[12/Nov/2026:00:04:29.297374605 +0200] - DEBUG - NSMMReplicationPlugin - repl5_inc_result_threadmain exiting
[12/Nov/2026:00:04:29.299146487 +0200] - DEBUG - NSMMReplicationPlugin - agmt="cn=ad......" (ad....:636): {replicageneration} 547f9354000000010000
[12/Nov/2026:00:04:29.301080478 +0200] - DEBUG - NSMMReplicationPlugin - agmt="cn=ad......" (ad.....:636): {replica 1 ldap://ldap......:389} 547f9663000000010000 6af4e66d000000010000 6af4e66d
[12/Nov/2026:00:04:29.302597216 +0200] - DEBUG - agmt="cn=ad......" (ad.....:636) - clcache_get_buffer - found thread private buffer cache 0x7f2f23a66800
[12/Nov/2026:00:04:29.304011348 +0200] - DEBUG - agmt="cn=ad......" (ad.....:636) - clcache_get_buffer - _pool is 0x7f2f95bccda0 _pool->pl_busy_lists is 0x7f2f23ac0780 _pool->pl_busy_lists->bl_buffers is 0x7f2f22cac800
[12/Nov/2026:00:04:29.309599079 +0200] - DEBUG - agmt="cn=ad......" (ad......:636) - clcache_initial_anchorcsn - agmt="cn=ad......" (ad....:636) - (cscb 0 - state 0) - csnPrevMax () csnMax (6af4e66d000000010000) csnBuf (6af4e66c000a00010000) csnConsumerMax (6af4e66c000a00010000)
[12/Nov/2026:00:04:29.311628797 +0200] - DEBUG - clcache_initial_anchorcsn - anchor is now: 6af4e66c000a00010000
[12/Nov/2026:00:04:29.314253358 +0200] - DEBUG - agmt="cn=ldap......" (ldap-....:636) - clcache_return_buffer - session end: state=5 load=2 sent=2 skipped=0 skipped_new_rid=0 skipped_csn_gt_cons_maxcsn=0 skipped_up_to_date=0 skipped_csn_gt_ruv=0 skipped_csn_covered=0
[12/Nov/2026:00:04:29.316377719 +0200] - DEBUG - agmt="cn=ad......" (ad....:636) - clcache_load_buffer - Can't locate CSN 6af4e66c000a00010000 in the changelog (DB rc=-12797). If replication stops, the consumer may need to be reinitialized.
[12/Nov/2026:00:04:29.318153512 +0200] - DEBUG - agmt="cn=ad......" (ad.....:636) - clcache_load_buffer - rc=-12797
[12/Nov/2026:00:04:29.320640524 +0200] - DEBUG - NSMMReplicationPlugin - changelog program - _cl5CheckMissingCSN - change with 6af4e66c000a00010000 csn has been purged by this server; the current purge point for that replica is 6af4e66c000a00010000
[12/Nov/2026:00:04:29.322391784 +0200] - DEBUG - NSMMReplicationPlugin - changelog program - repl_plugin_name_cl - agmt="cn=ad......" (ad.....:636): CSN 6af4e66c000a00010000 not found, seems to be missing
[12/Nov/2026:00:04:29.324246019 +0200] - DEBUG - agmt="cn=ad......" (ad-...:636) - clcache_return_buffer - session end: state=0 load=0 sent=0 skipped=0 skipped_new_rid=0 skipped_csn_gt_cons_maxcsn=0 skipped_up_to_date=0 skipped_csn_gt_ruv=0 skipped_csn_covered=0
[12/Nov/2026:00:04:29.326124592 +0200] - ERR - NSMMReplicationPlugin - windows sync - send_updates - agmt="cn=ad......" (ad...:636): Missing data encountered
[12/Nov/2026:00:04:29.328058543 +0200] - DEBUG - NSMMReplicationPlugin - create_ReplicationExtopPayload - encoding 'End Replication' payload...
[12/Nov/2026:00:04:29.329882022 +0200] - DEBUG - NSMMReplicationPlugin - windows sync - windows_conn_start_linger - agmt="cn=ad......" (ad....:636): Beginning linger on the connection
[12/Nov/2026:00:04:29.331729437 +0200] - DEBUG - NSMMReplicationPlugin - windows sync - windows_inc_run - agmt="cn=ad......" (ad....:636): State: sending_updates -> stop_fatal_error
[12/Nov/2026:00:04:29.333552456 +0200] - ERR - NSMMReplicationPlugin - windows sync - windows_inc_run - agmt="cn=ad......" (ad.....:636): Incremental update failed and requires administrator action
[12/Nov/2026:00:04:29.335449022 +0200] - DEBUG - NSMMReplicationPlugin - windows sync - windows_inc_run - agmt="cn=ad......" (ad....:636): State: stop_fatal_error -> stop_fatal_error
Thank you,
Mihai