<?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: Unable to create replication slot in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130320#M7797</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/182592"&gt;@sush_1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for opening the article.&lt;/P&gt;
&lt;P&gt;In general the create slot operation should be done quikcly, if it's a pure timeout issue then you may add an internal parameter in the endpoint and set its value to a reasonable value (default is 60 seconds) as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1697798010106.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/118563iFF798C0A9B14B5F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1697798010106.png" alt="john_wang_0-1697798010106.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or you may try to create a slot manually to trace the error, a sample :&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;SELECT xlog_position FROM pg_create_logical_replication_slot('&lt;SPAN&gt;postgres_source__00016415_78935867_4089_e74e_8879_d6f91df326e4&lt;/SPAN&gt;', 'test_decoding')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 10:37:51 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-10-20T10:37:51Z</dc:date>
    <item>
      <title>Unable to create replication slot</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130269#M7793</link>
      <description>&lt;P&gt;Hi Team we are facing issue in CDC from Aurora postgres source.&lt;/P&gt;
&lt;P&gt;As we have fulfilled all the prerequisites we are getting unable to create replication slot.&lt;/P&gt;
&lt;P&gt;Attaching the error message below:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Creating replication slot 'postgres_source__00016415_78935867_4089_e74e_8879_d6f91df326e4' failed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;wal_slot_create(...) - Unable to create slot 'postgres_source__00016415_78935867_4089_e74e_8879_d6f91df326e4' (on execute(...) phase)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;RetCode: SQL_ERROR &amp;nbsp;SqlState: 57014 NativeError: 1 Message: ERROR: canceling statement due to statement timeout;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error while executing the query&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot('postgres_source__00016415_78935867_4089_e74e_8879_d6f91df326e4', 'test_decoding')'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Please help us to resolve this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sushant&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 08:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130269#M7793</guid>
      <dc:creator>sush_1</dc:creator>
      <dc:date>2023-10-20T08:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create replication slot</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130320#M7797</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/182592"&gt;@sush_1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for opening the article.&lt;/P&gt;
&lt;P&gt;In general the create slot operation should be done quikcly, if it's a pure timeout issue then you may add an internal parameter in the endpoint and set its value to a reasonable value (default is 60 seconds) as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1697798010106.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/118563iFF798C0A9B14B5F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1697798010106.png" alt="john_wang_0-1697798010106.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or you may try to create a slot manually to trace the error, a sample :&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;SELECT xlog_position FROM pg_create_logical_replication_slot('&lt;SPAN&gt;postgres_source__00016415_78935867_4089_e74e_8879_d6f91df326e4&lt;/SPAN&gt;', 'test_decoding')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 10:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130320#M7797</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-10-20T10:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create replication slot</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130329#M7798</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;We added above mentioned internal parameter. and also ran the query to create slot manually. It saying that the slot is already exists.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sushant&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 10:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130329#M7798</guid>
      <dc:creator>sush_1</dc:creator>
      <dc:date>2023-10-20T10:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create replication slot</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130401#M7799</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/182592"&gt;@sush_1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update. So far Replicate works fine now, right?&lt;/P&gt;
&lt;P&gt;Replicate will detect the slot automatically, if the slot does not exist Replicate will create it and then use the slot. Or you may use an internal parameter &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;slotName&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;to specify the given slot.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 13:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-create-replication-slot/m-p/2130401#M7799</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-10-20T13:39:18Z</dc:date>
    </item>
  </channel>
</rss>

