dockerzhang opened a new issue #639:
URL: https://github.com/apache/incubator-inlong/issues/639


   <p>Recently, in actual testing and troubleshooting, we analyzed and 
organized the logic of file storage 
(org.apache.tubemq.server.broker.msgstore.disk), and found some problems that 
need to be optimized:</p>
   
   <p>1. Because the data uses an out-of-date aging mechanism, the FileSegment 
file indexing method is not necessary,and this logic interferes will with the 
use of the system;</p>
   
   <p>2. The FileReadView class is intended to construct a separate view of the 
read data processing, and at the same time control the read operation in the 
view. From the actual troubleshooting, this logic is not necessary, and no 
requests will read expired files, the class for read encapsulation is not 
needed;</p>
   
   <p>3. The FileSegmentList class, from the test point of view, the use of 
List is not as good as the array method, and not faster, at the same time, this 
class is best to form a container without too much other business logic, so 
that the abstraction will be more suitable for its positioning.</p>
   
   <p>I'll append my changes to improve them.</p>
   <i>JIRA link - <a 
href="https://issues.apache.org/jira/browse/INLONG-40";>[INLONG-40]</a> created 
by gosonzhang</i>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to