diff --git a/docs/design_docs/segcore/segment_growing.md b/docs/design_docs/segcore/segment_growing.md index 34948918b7..1279028ccb 100644 --- a/docs/design_docs/segcore/segment_growing.md +++ b/docs/design_docs/segcore/segment_growing.md @@ -4,11 +4,11 @@ Growing segment has the following additional interfaces: 1. `PreInsert(size) -> reseveredOffset`: serial interface, which reserves space for future insertion and returns the `reseveredOffset`. -2. `Insert(reseveredOffset, size, ...Data...)`: write `...Data...` into range `[reseveredOffset, reseveredOffset + size)`. this interface is allowed to be called concurrently. +2. `Insert(reseveredOffset, size, ...Data...)`: write `...Data...` into range `[reseveredOffset, reseveredOffset + size)`. This interface is allowed to be called concurrently. 1. `...Data...` contains row_ids, timestamps two system attributes, and other columns 2. data column can be stored either row based or column based. - 3. `PreDelete & Delete(reseveredOffset, row_ids, timestamps)` is the delete interface similar to insert interface. + 3. `PreDelete & Delete(reseveredOffset, row_ids, timestamps)` is a delete interface similar to insert interface. Growing segment stores data in the form of chunk. The number of rows in each chunk is restricted by configs.