[ 
https://issues.apache.org/jira/browse/IGNITE-28661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18094207#comment-18094207
 ] 

Ignite TC Bot commented on IGNITE-28661:
----------------------------------------

Docs Required triage: I verified the merged change on apache/ignite 
origin/master (commit da9f71fe28, PR #13123). It renames Ignite's internal 
build metadata resource from ignite.properties to ignite-build-info.properties 
and updates the internal loader/build references; the old resource is not a 
documented user configuration file or public API. No user documentation page 
needs an update, so I am removing Docs Required and leaving Release Notes 
Required for release-note handling.

> Rename ignite.properties build metadata resource to avoid confusion with user 
> configuration
> -------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-28661
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28661
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Oleg Valuyskiy
>            Assignee: Oleg Valuyskiy
>            Priority: Minor
>              Labels: ise
>             Fix For: 2.19
>
>         Attachments: IgniteBuildInfoPropertiesTest.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently Apache Ignite uses the *ignite.properties* classpath resource to 
> store internal build metadata such as:
>  * product version (ignite.version)
>  * build number (ignite.build)
>  * revision (ignite.revision)
>  * release date (ignite.rel.date)
>  * update notifier parameters
> However, the current name *ignite.properties* is misleading because it looks 
> like a regular user configuration file. This creates two problems:
> *1. Misleading semantics*
> Users may attempt to store custom application properties there.
> *2. Accidental classpath resource collision*
> A user may independently create their own application configuration file 
> named *ignite.properties* and place it in the application classpath, without 
> knowing that Apache Ignite already uses a resource with the same name. In 
> such cases, the user resource may accidentally override Ignite’s internal 
> {*}ignite.properties{*}, leading to unexpected runtime issues.
> Reproducer: [^IgniteBuildInfoPropertiesTest.patch]
> To reduce confusion and avoid accidental resource overriding, the internal 
> resource should be renamed to something that clearly reflects its purpose, 
> for example {*}ignite-build-info.properties{*}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to