jhc-systems / debezium-connector-ibmi

Debezium Connector for IBM i (AS/400)
16 stars 12 forks source link

Processing journal entries stops with error "CPF7074 message RCVRNG for specified SEARCH not valid" #48

Closed msillence closed 1 year ago

msillence commented 1 year ago

Processing journal entries stops with repeated error:

Call failed position JournalPosition [offset=xxx, receiver=yyy, receiverLibrary=zzz, processed=false] with error code CPF7074 message RCVRNG for specified SEARCH not valid. &N Cause . . . . . : The values specified for the RCVRNG parameter do not agree with the value for the SEARCH parameter or the command or API specifications. If the SEARCH(ASCEND) parameter is specified for the Retrieve Journal Entry (RTVJRNE) command, the ". If the SEARCH(DESCEND) parameter is specified for the Retrieve Journal Entry (RTVJRNE) command, the journal receivers must be specified from the newest to oldest. &P If the Display Journal (DSPJRN) command, Receive Journal Entry (RCVJRNE) command, or Retrieve Journal Entries (QjoRetrieveJournalEntries) API was used, the journal receivers must be specified from the oldest to the newest. &N Recovery . . . : The Work with Journal Attributes (WRKJRNA) command can be used to display the receiver directory for the correct arrangement of the journal receivers. Change the values of the RCVRNG parameter or the value of the SEARCH parameter. Then try the request again.

msillence commented 1 year ago

restart fixed the issue, looks like a caching issue https://github.com/jhc-systems/debezium-connector-ibmi/pull/47

msillence commented 1 year ago

assuming dump of #47