]
Steven Hawkins resolved TEIID-5315.
-----------------------------------
Resolution: Done
Added an undocumented parameter only_if_needed to the loadMatView procedure to match the
expectation of the pct load based polling. Also made the ttl resolution of the procedure
based upon milliseconds rather than seconds.
MATVIEW_MAX_STALENESS_PCT reloads only based upon ttl
-----------------------------------------------------
Key: TEIID-5315
URL:
https://issues.jboss.org/browse/TEIID-5315
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 10.3, 10.1.3, 10.2.1
https://github.com/teiid/teiid/blob/6d378d44fc7cb220ebc3a7068ff5f747e49dc...
Should schedule a recurring task for reloading based upon the staleness percentage,
instead it is only a oneTimeJob. This means that after the first load, it will revert to
using the ttl for reloads.
We should also be explicit in the docs that the staleness is checked every minute.