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

duplicate call to config.validateAndRecord() in RedisDatabaseHistory

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      In RedisDatabaseHistory, we have a duplicate call to config.validateAndRecord(ALL_FIELDS, LOGGER::error);

          public void configure(Configuration config, HistoryRecordComparator comparator, DatabaseHistoryListener listener, boolean useCatalogBeforeSchema) {
              if (!config.validateAndRecord(ALL_FIELDS, LOGGER::error))

      {             throw new ConnectException(                     "Error configuring an instance of " + getClass().getSimpleName() + "; check the logs for details");         }

              config.validateAndRecord(ALL_FIELDS, LOGGER::error);

       

      Simply removing the second call will do.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggaborg Gabor Andras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: