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

zowex: Running zowex ds list recalls/restores the data set #151

Open
zFernand0 opened this issue Feb 25, 2025 · 1 comment
Open

zowex: Running zowex ds list recalls/restores the data set #151

zFernand0 opened this issue Feb 25, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@zFernand0
Copy link
Member

zFernand0 commented Feb 25, 2025

Describe the bug

When listing migrated/archived datasets, the zowex backend automatically restores/recalls them. Nice that they are restored automatically, but performance suffers on a simple DS list (from VSCE).

Expected and actual results

Expected to just view the list of datasets that matched the pattern without further action happening

bash-4.3$ zowex ds list fernando.lib.cntl1
FERNANDO.LIB.CNTL1                            MIGRAT PO
bash-4.3$ zowex ds list fernando.lib.cntl1
FERNANDO.LIB.CNTL1                            TSU132 PO

Describe your environment

Any environment really 😋

Additional context

Found this while testing restore from the VSCE (#126) 😋
Function to look into:

int zds_list_data_sets(ZDS *zds, string dsn, vector<ZDSEntry> &attributes)

@zFernand0 zFernand0 added the bug Something isn't working label Feb 25, 2025
@zFernand0 zFernand0 changed the title zowex: Running zowex ds list DS.NAME automatically recalls/restores the dataset zowex: Running zowex ds list automatically recalls/restores the dataset Feb 25, 2025
@zFernand0 zFernand0 changed the title zowex: Running zowex ds list automatically recalls/restores the dataset zowex: Running zowex ds list automatically recalls/restores the DS Feb 25, 2025
@zFernand0 zFernand0 changed the title zowex: Running zowex ds list automatically recalls/restores the DS zowex: Running zowex ds list recalls/restores the data set Feb 25, 2025
@dkelosky
Copy link
Collaborator

dang... I didn't consider that during the implementation, but we effectively open each file in the list to obtain attributes. Besides performance, it's probably not desired to automatically restore data sets you don't intend to.

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

No branches or pull requests

2 participants