Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: In online mode, the archived logs cannot be queried, causing the program to endlessly search for the archived log path #89

Open
hj2016 opened this issue Jan 10, 2024 · 5 comments
Labels
bug Something isn't working reproduction missing

Comments

@hj2016
Copy link

hj2016 commented Jan 10, 2024

I start the task in online mode to recover from a checkpoint, and there are many archived log files missing in between. After starting, it keeps querying the database for archived log files, but since it can't find them, it gets stuck in an infinite loop without progressing forward.
I have identified some issues with the archived log query statement because the condition IS_RECOVERY_DEST_FILE = 'NO' is being filtered out.
image
"After modifying IS_RECOVERY_DEST_FILE = 'YES', it can be queried successfully." But information from the DG database is also being queried, which is another issue I've identified here.
image
After making this modification, there are no issues, and the missing data in between has been captured.
image

image

@hj2016
Copy link
Author

hj2016 commented Jan 10, 2024

Perhaps I can submit a pull request for you?

@bersler
Copy link
Owner

bersler commented Jan 10, 2024

Hi @hj2016 , thank you for submitting this issue. I am currently on vacation. I will take a look next week when I am back.

@bersler bersler added the bug Something isn't working label Jan 28, 2024
@hj2016
Copy link
Author

hj2016 commented Feb 27, 2024

Is my thinking correct here, do I need to submit a PR to fix the problem?

@bersler
Copy link
Owner

bersler commented Mar 3, 2024

Hi @hj2016 , the problem is not the fix. The problem is to create a reproduction of the issue to actually verify it.
Please provide a reproduction of the fault:

  1. take docker image for OLR + Oracle (preferred: https://github.com/bersler/OpenLogReplicator-tutorials so that the fault can be reproduced on Oracle XE)
  2. set configuration of OLR to ... (preferred: json file)
  3. run some SQL commands, restart, whatever else
  4. achieve fault

or alternatively for other errors:

  1. OLR configuration file
  2. OLR checkpoint file set
  3. set of redo log files which contain error
  4. achieve fault

@bersler
Copy link
Owner

bersler commented May 8, 2024

I still am unable to reproduce the issue, I plan to close this issue if nothing changes till end of may.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reproduction missing
Projects
None yet
Development

No branches or pull requests

2 participants