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

Ignore unnecessary parameter. #473

Merged
merged 1 commit into from
Mar 2, 2017
Merged

Ignore unnecessary parameter. #473

merged 1 commit into from
Mar 2, 2017

Conversation

bbockelm
Copy link
Contributor

@bbockelm bbockelm commented Mar 2, 2017

Without explicitly ignoring the argument value, we trigger an assert to make sure all arguments have been processed - even if it is otherwise ignored.

Assert failure looked like:

170301 22:44:17 2410886 XrdFileCache_Config: pfc.nramread is deprecated, please use pfc.ram instead. Ignoring this directive.
xrootd: /home/cse496/bbockelm/projects/xrootd/src/XrdFileCache/XrdFileCacheConfiguration.cc:413: bool XrdFileCache::Cache::ConfigParameters(std::string, XrdOucStream&, XrdFileCache::TmpConfiguration&): Assertion `config.GetWord() == 0 && "Cache::ConfigParameters() lost argument"' failed.

triggered by the presence of pfc.nramread 4.

Without explicitly ignoring the argument value, we trigger
an assert to make sure all arguments have been processed -
even if it is otherwise ignored.
@osschar
Copy link
Contributor

osschar commented Mar 2, 2017

Sigh, created #474 ...

@abh3 abh3 merged commit bde03fb into xrootd:master Mar 2, 2017
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.

None yet

3 participants