zealchen commented on code in PR #1584:
URL: https://github.com/apache/horaedb/pull/1584#discussion_r1825438976
##########
src/wal/src/local_storage_impl/segment.rs:
##########
@@ -615,6 +615,32 @@ impl SegmentManager {
}
}
+pub struct SegmentTableMeta {
Review Comment:
To minimize exposing the internal objects, I chose not to return all the
segments directly. Furthermore, since all_segments contain Mutexs, exposing it
through the interface could compromise both safety and maintainability. Better
solutions?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]