<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: failed upon SQLExecute with LSN parameters in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/1769667#M665</link>
    <description>&lt;P&gt;Thank you for this question.&lt;/P&gt;&lt;P&gt;The error you encountered appears when Replicate doesn’t find the LSN on TLOG/backup log.&lt;/P&gt;&lt;P&gt;In some cases, it takes some time for the logs to be presented, that’s why the endpoint returns a recoverable error.&lt;/P&gt;&lt;P&gt;Was the task able to recover and continue the CDC? If so, that's fine and you can ignore this error.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Dec 2020 11:50:32 GMT</pubDate>
    <dc:creator>MarinaEmbon</dc:creator>
    <dc:date>2020-12-20T11:50:32Z</dc:date>
    <item>
      <title>failed upon SQLExecute with LSN parameters</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/1768486#M660</link>
      <description>&lt;DIV class="textViewerContainer ng-isolate-scope"&gt;&lt;DIV class="textViewerSearchBox ng-isolate-scope"&gt;The task for SQLServer to Oracle is running fine until it was aborted wit recoverable error. No errors/alerts in the backend or so and this is the logs for the Replicate. Any thoughts as to what caused this?&lt;/DIV&gt;&lt;DIV class="textViewerSearchBox ng-isolate-scope"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="textViewerSearchBox ng-isolate-scope"&gt;&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects"&gt;&lt;SPAN class="rColor"&gt;00003780: 2020-12-14T19:01:33 [SOURCE_CAPTURE ]E: mssql_execute_log_lsn_peeper(...) failed upon SQLExecute with LSN parameters '0x00013cdf:00092f7a:002c','0x00013cdf:00092f7a:002c' [1020102] (sqlserver_log_queries.c:782) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects"&gt;&lt;SPAN class="rColor"&gt;00003780: 2020-12-14T19:01:33 [SOURCE_CAPTURE ]E: Encountered an unexpeceted error. Aborting... [1020102] (sqlserver_endpoint_capture.c:685) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects textRecordSelected"&gt;00011396: 2020-12-14T19:01:33 [TASK_MANAGER ]I: Task error notification received from subtask 0, thread 0, status 1020102 (replicationtask.c:3053)&lt;/DIV&gt;&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects"&gt;&lt;SPAN class="rColor"&gt;00003780: 2020-12-14T19:01:33 [SOURCE_CAPTURE ]E: Error executing source loop [1020102] (streamcomponent.c:1905) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects"&gt;&lt;SPAN class="rColor"&gt;00003780: 2020-12-14T19:01:33 [TASK_MANAGER ]E: Stream component failed at subtask 0, component st_0_SRC-SQL-GDSSQLNA102 [1020102] (subtask.c:1368) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects"&gt;&lt;SPAN class="rColor"&gt;00003780: 2020-12-14T19:01:33 [SOURCE_CAPTURE ]E: Stream component 'st_0_SRC-SQL-GDSSQLNA102' terminated [1020102] (subtask.c:1537) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects"&gt;&lt;SPAN class="oColor"&gt;00011396: 2020-12-14T19:01:33 [TASK_MANAGER ]W: Task 'PROD_DS_SQL_ORACLE' encountered a recoverable error (repository.c:5704)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Dec 2020 07:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/1768486#M660</guid>
      <dc:creator>missDBA</dc:creator>
      <dc:date>2020-12-15T07:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: failed upon SQLExecute with LSN parameters</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/1769667#M665</link>
      <description>&lt;P&gt;Thank you for this question.&lt;/P&gt;&lt;P&gt;The error you encountered appears when Replicate doesn’t find the LSN on TLOG/backup log.&lt;/P&gt;&lt;P&gt;In some cases, it takes some time for the logs to be presented, that’s why the endpoint returns a recoverable error.&lt;/P&gt;&lt;P&gt;Was the task able to recover and continue the CDC? If so, that's fine and you can ignore this error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 11:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/1769667#M665</guid>
      <dc:creator>MarinaEmbon</dc:creator>
      <dc:date>2020-12-20T11:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: failed upon SQLExecute with LSN parameters</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/2003886#M4191</link>
      <description>&lt;P&gt;Hi MarinaEmbon,&lt;/P&gt;
&lt;P&gt;We also encountering the same issue with our tasks, but our tasks go into failed state.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 05:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/2003886#M4191</guid>
      <dc:creator>dhina</dc:creator>
      <dc:date>2022-11-14T05:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: failed upon SQLExecute with LSN parameters</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/2007287#M4293</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for the post to the QDI Forums. I would check the Change Processing Mode on the SQL Server Source as depending on how this is set will determine if the Task will read from the online TLOG or Backups or both. This would be first step and if support is needed a Support case with the SOURCE_CAPTURE set to TRACE and attach the Diagnostic Package to the case when opened to help expedite the case.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/SQL%20Server/SQLServerDBSource_AdvProps.htm#Setting%20advanced%20connection%20properties" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/SQL%20Server/SQLServerDBSource_AdvProps.htm#Setting%20advanced%20connection%20properties&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The SQL Server Source Advanced Tab:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_0-1669064085233.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94230iF2E1C9016089BFA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bill_Steinagle_0-1669064085233.png" alt="Bill_Steinagle_0-1669064085233.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Change processing mode:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;Choose one of the following change processing modes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="ui_item"&gt;Prioritize Online Logs&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- This is the default.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.QDI_ProductName variable"&gt;Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will first look for the changes in the online transaction logs. If the changes cannot be found in the online transaction logs, it will look for them in the backup transaction logs instead.&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Prioritize Backup Logs&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- When this option is enabled,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.QDI_ProductName variable"&gt;Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will first look for the changes in the backup transaction logs. This can improve performance when reading from the online transaction log is slow (e.g due to lock contention) or when using file-level access to access the backup transaction logs.&lt;/P&gt;
&lt;P&gt;If the changes cannot be found in the backup transaction logs, it will look for them in the online transaction logs instead.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;A name="read_changes_from_backup_only" target="_blank"&gt;&lt;/A&gt;&lt;SPAN class="ui_item"&gt;&lt;A name="Backuplogsonly" target="_blank"&gt;&lt;/A&gt;Backup Logs&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Only&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- When this option is selected,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.Product variable"&gt;Qlik Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will try and find the changes in the backup transaction logs only. Selecting this method results in increased latency due to the interval between backups. The actual latency time will remain constant, but will vary according to the backup schedule.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="ui_item"&gt;Online Logs Only&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- When this option is selected,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.Product variable"&gt;Qlik Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will try and find the changes in the online transaction logs only.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 20:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/2007287#M4293</guid>
      <dc:creator>Bill_Steinagle</dc:creator>
      <dc:date>2022-11-21T20:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: failed upon SQLExecute with LSN parameters</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/2010310#M4352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/131564"&gt;@missDBA&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your Replicate has access to the backup logs then use the Prioritize Online logs option in Change Processing Mode so that if the LSN is not found in the .ldf file then Replicate tries to read it from the .trn backup file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 11:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/failed-upon-SQLExecute-with-LSN-parameters/m-p/2010310#M4352</guid>
      <dc:creator>SwathiPulagam</dc:creator>
      <dc:date>2022-11-29T11:11:06Z</dc:date>
    </item>
  </channel>
</rss>

