[jira] [Commented] (SOLR-11052) reserveCommitDuration from Integer to Long

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (SOLR-11052) reserveCommitDuration from Integer to Long

JIRA jira@apache.org

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

ASF subversion and git services commented on SOLR-11052:
--------------------------------------------------------

Commit abdb7292dbb5d74a63b546dc239423b04ab7e25b in lucene-solr's branch refs/heads/master from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=abdb729 ]

SOLR-11052: Remove unnecessary Long-to-Integer and back casts in ReplicationHandler.
(Ramsey Haddad via Christine Poerschke)


> reserveCommitDuration from Integer to Long
> ------------------------------------------
>
>                 Key: SOLR-11052
>                 URL: https://issues.apache.org/jira/browse/SOLR-11052
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>            Reporter: Ramsey Haddad
>            Priority: Trivial
>         Attachments: SOLR-11052.patch
>
>
> reserveCommitDuration gets created as a Long and then stored as an Integer.
> It is used as a Long and hence get reconverted back from Integer to Long.
> Let's just leave it as a Long the whole time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...