Skip to content

[Bug] PD GraphCache range attribute has a missing coverage range of 0-65535 #2634

@haohao0103

Description

@haohao0103

Bug Type (问题类型)

performance (性能下降)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 1.5.0 (Apache Release Version)
  • Backend: HStore

Expected & Actual behavior (期望与实际表现)

the speed of vertex writing suddenly decreases, while P99 increases; it was found that there is a missing coverage range in the GraphCache range;

Actual range :

result=@ArrayList[
    @TreeRangeMap[
        entriesByLowerBound=@TreeMap[
            @BelowValue[\4096/]:@RangeMapEntry[[4096..8192)=1],
            @BelowValue[\8192/]:@RangeMapEntry[[8192..12288)=2],
            @BelowValue[\12288/]:@RangeMapEntry[[12288..16384)=3],
            @BelowValue[\36864/]:@RangeMapEntry[[36864..40960)=9],
            @BelowValue[\40960/]:@RangeMapEntry[[40960..45056)=10],
            @BelowValue[\45056/]:@RangeMapEntry[[45056..49152)=11],
        ],
        EMPTY_SUB_RANGE_MAP=@[
        ],
    ],
]

Expected range:

@TreeRangeMap[
        entriesByLowerBound=@TreeMap[
            @BelowValue[\0/]:@RangeMapEntry[[0..4096)=0],
            @BelowValue[\4096/]:@RangeMapEntry[[4096..8192)=1],
            @BelowValue[\8192/]:@RangeMapEntry[[8192..12288)=2],
            @BelowValue[\12288/]:@RangeMapEntry[[12288..16384)=3],
            @BelowValue[\16384/]:@RangeMapEntry[[16384..20480)=4],
            @BelowValue[\20480/]:@RangeMapEntry[[20480..24576)=5],
            @BelowValue[\24576/]:@RangeMapEntry[[24576..28672)=6],
            @BelowValue[\28672/]:@RangeMapEntry[[28672..32768)=7],
            @BelowValue[\32768/]:@RangeMapEntry[[32768..36864)=8],
            @BelowValue[\36864/]:@RangeMapEntry[[36864..40960)=9],
            @BelowValue[\40960/]:@RangeMapEntry[[40960..45056)=10],
            @BelowValue[\45056/]:@RangeMapEntry[[45056..49152)=11],
            @BelowValue[\49152/]:@RangeMapEntry[[49152..53248)=12],
            @BelowValue[\53248/]:@RangeMapEntry[[53248..57344)=13],
            @BelowValue[\57344/]:@RangeMapEntry[[57344..61440)=14],
            @BelowValue[\61440/]:@RangeMapEntry[[61440..65536)=15],
        ],
        EMPTY_SUB_RANGE_MAP=@[
        ],

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions