Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5580

ORA-01086 Savepoint DBZ_SCHEMA_SNAPSHOT never established in this session or is invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.8.1.Final
    • oracle-connector
    • None
    • False
    • None
    • False

    Description

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      After I register the connector,in snapshot 6 step,I got an error like this

       

      Caused by: java.sql.SQLException: ORA-01086: savepoint 'DBZ_SCHEMA_SNAPSHOT' never established in this session or is invalid

      {{ at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:1255)
      at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:1137)
      at oracle.jdbc.driver.T2CStatement.executeForDescribe(T2CStatement.java:957)
      at oracle.jdbc.driver.T2CStatement.executeForRows(T2CStatement.java:1200)
      at oracle.jdbc.driver.OracleStatement.executeSQLStatement(OracleStatement.java:1530)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1310)
      at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:2088)
      at oracle.jdbc.driver.OracleStatement.executeLargeUpdate(OracleStatement.java:2053)
      at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:2041)
      at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:309)
      at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:4764)
      at oracle.jdbc.driver.T2CConnection.rollback(T2CConnection.java:97)
      at io.debezium.connector.oracle.OracleSnapshotChangeEventSource.releaseSchemaSnapshotLocks(OracleSnapshotChangeEventSource.java:129)
      at io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(RelationalSnapshotChangeEventSource.java:121)
      at io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:76)
      ... 8 more}}
      Caused by: Error : 1086, Position : 0, Sql = ROLLBACK TO dbz_schema_snapshot, OriginalSql = ROLLBACK TO dbz_schema_snapshot, Error Msg = ORA-01086: savepoint 'DBZ_SCHEMA_SNAPSHOT' never established in this session or is invalid

       

      it likes the savepoint is invalid so the rollback failed

      What Debezium connector do you use and what version?

      Oracle 1.8.1finally

      What is the connector configuration?

       

      What is the captured database version and mode of depoyment?

      (E.g. on-premises, with a specific cloud provider, etc.)

      Oracle 19c single-node

      What behaviour do you expect?

      <Your answer>

      What behaviour do you see?

      <Your answer>

      Do you see the same behaviour using the latest relesead Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      <Your answer>

      Do you have the connector logs, ideally from start till finish?

      (You might be asked later to provide DEBUG/TRACE level log)

      <Your answer>

      How to reproduce the issue using our tutorial deployment?

      <Your answer>

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      <Your answer>

      Implementation ideas (optional)

      <Your answer>

      Attachments

        1. connect.log
          238 kB
          SignalFlag Ru

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rusignalflag SignalFlag Ru (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: