Skip to content

Commit f816d8a

Browse files
committed
object: Add LINK object type
This commit makes it easier to differ link objects from the other types. Object split hierarchy rework increases the link object's structure and makes it more strictly formatted, so now it plays a more important role in the split chains (and the split rules became more complex too). Signed-off-by: Pavel Karpy <[email protected]>
1 parent 39d130d commit f816d8a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Numeric operands for object search queries (#265)
77
- Link object payload message (#263)
88
- Children sizes index to the link objects (#264)
9+
- `LINK` split chain object type (#283)
910

1011
### Changed
1112

object/types.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import "session/types.proto";
1717
// * TOMBSTONE
1818
// * STORAGE_GROUP
1919
// * LOCK
20+
// * LINK
2021
enum ObjectType {
2122
// Just a normal object
2223
REGULAR = 0;
@@ -29,6 +30,9 @@ enum ObjectType {
2930

3031
// Object lock
3132
LOCK = 3;
33+
34+
// Object that stores child object IDs for the split objects.
35+
LINK = 4;
3236
}
3337

3438
// Type of match expression

proto-docs/object.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,13 +1043,15 @@ String presentation of object type is the same as definition:
10431043
* TOMBSTONE
10441044
* STORAGE_GROUP
10451045
* LOCK
1046+
* LINK
10461047

10471048
| Name | Number | Description |
10481049
| ---- | ------ | ----------- |
10491050
| REGULAR | 0 | Just a normal object |
10501051
| TOMBSTONE | 1 | Used internally to identify deleted objects |
10511052
| STORAGE_GROUP | 2 | StorageGroup information |
10521053
| LOCK | 3 | Object lock |
1054+
| LINK | 4 | Object that stores child object IDs for the split objects. |
10531055

10541056

10551057
<!-- end enums -->

0 commit comments

Comments
 (0)