Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReviseVChannelInfo ¶
func ReviseVChannelInfo(vChannel *datapb.VchannelInfo)
ReviseVChannelInfo will revise the datapb.VchannelInfo for upgrade compatibility from 2.0.2
Types ¶
type Cache ¶
type Cache struct { *typeutil.ConcurrentSet[typeutil.UniqueID] }
Cache stores flushing segments' ids to prevent flushing the same segment again and again.
Once a segment is flushed, its id will be removed from the cache. A segment not in cache will be added into the cache when `FlushSegments` is called. After the flush procedure, whether the segment successfully flushed or not, it'll be removed from the cache. So if flush failed, the secondary flush can be triggered.
Click to show internal directories.
Click to hide internal directories.