[
https://issues.apache.org/jira/browse/DERBY-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
V.Narayanan updated DERBY-3359:
-------------------------------
Attachment: DynamicLogShipping_v3.stat
DynamicLogShipping_v3.diff
Thank you for the comments/reviews on the patch Oystein!
I have done all the changes as suggested by you.
Some additional changes are enumerated and explained below,
- Changed the Class level comment to indicate that the shipping happens
when notification is received from the log buffer also. Also removed
some comments that are not valid anymore.
- lastShippingTime is initialized to System.currentTimemillis() in the
beginning. This would mean that the first shipping for medium load
FI_LOW < fi < FI_HIGH cannot happen unless MIN ms has elapsed.
- lastShippingTime is initialized in the shipALogChunk() method.
> The log shipper needs to be modified to vary the shipping intervals
> dynamically (based on load)
> -----------------------------------------------------------------------------------------------
>
> Key: DERBY-3359
> URL: https://issues.apache.org/jira/browse/DERBY-3359
> Project: Derby
> Issue Type: Sub-task
> Reporter: V.Narayanan
> Assignee: V.Narayanan
> Attachments: DynamicLogShipping_v1.diff, DynamicLogShipping_v1.stat,
> DynamicLogShipping_v2.diff, DynamicLogShipping_v2.stat,
> DynamicLogShipping_v3.diff, DynamicLogShipping_v3.stat
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.