baidu / baidu/ins

新new出来的InsNodeImpl指针为空,导致rpc注册出core

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
214
Forks
87
PR merge metrics
No merged PRs in 30d

Description

在ins_main.cc的51行最好对InsNodeImpl指针进行判断下是否NULL,我刚就出现过由于机器内存过低导致rpc注册出core的问题

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at line 51 of ins_main.cc and inspect how the InsNodeImpl pointer is created before RPC registration. Reproduce or reason about the low-memory failure described in the issue, then verify that registration no longer cores when allocation does not produce a usable pointer.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.