[
https://issues.apache.org/jira/browse/ASTERIXDB-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16673266#comment-16673266
]
ASF subversion and git services commented on ASTERIXDB-2472:
------------------------------------------------------------
Commit b14490cd081cb017aadda249669223d2d7204e2f in asterixdb's branch
refs/heads/master from [~mhubail]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=b14490c ]
[ASTERIXDB-2472][CONF] More Restrictive Configuration Options
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- To avoid accepting invalid configuration types, more restrictive
configurations types (UNSIGNED_INTEGER) and (POSITIVE_INTERGER)
were introduced.
- Update configuration options that accept INTEGER type to use
the more restrictive INTEGER types.
Change-Id: I7236089d93f90ebdb57a87a8efa0a64cf98df845
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3017
Tested-by: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Reviewed-by: Michael Blow <[email protected]>
> Invalid Configuration Values Are Accepted
> -----------------------------------------
>
> Key: ASTERIXDB-2472
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2472
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: CONF - Configuration
> Affects Versions: 0.9.4
> Reporter: Murtadha Hubail
> Assignee: Murtadha Hubail
> Priority: Major
> Fix For: 0.9.5
>
>
> Many of our configuration parameters expect integers that are >= 0 (e.g.
> ports). Other parameters expect only positive integers (e.g. page size).
> However, currently we accept negative values for those parameters. This could
> result in an expected behaviors during runtime. The system should fail while
> parsing the configurations.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)