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

dump_current option #185

Merged
merged 6 commits into from
Aug 12, 2023
Merged

Conversation

starnold-redhat
Copy link
Collaborator

This filters out any entries that are are stale / not current in the download. It provided an extra argument to the ts command to "dump_current".

@waldirio
Copy link
Contributor

Hi @starnold-redhat

Please, let me share some results when using the new code

Partial output

Time in seconds

Duration: 668.82302 seconds

Time in minutes

$ echo 668/60 | bc
11

Total # of entries

"total": 7957

Total # of entries not in a stale state

$ grep "^                \"id\"" inventory.json  | wc -l
5931

Total output

Time in seconds

Duration: 1183.93114 seconds

Time in minutes

$ echo 1183/60 | bc
19

Total # of entries

"total": 7957

Total # of entries not in stale state

$ grep "^                \"id\"" inventory.json  | wc -l
7954

In both cases, I can see that the app was able to export all the data with no issues. For the full output, we can see a small diff of 3 servers that should be in the report. Later, I'll check this out and see what is causing this behavior, but at this moment, the overall seems ok.

Thank you!
Waldirio

@waldirio waldirio merged commit c851001 into C-RH-C:master Aug 12, 2023
@waldirio waldirio mentioned this pull request Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ts dump downloads stale and current systems - need an option to download just current systems
2 participants