[BUG] Error while loading graph from vineyard
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
Línea de trabajo
Reproduce la secuencia de cierre y recarga de la sesión y, a continuación, empieza en analytical_engine/core/grape_instance.cc, en GrapeInstance::loadGraph y en la ruta LoadGraph mostrada en el stack trace. Sigue el fallo de GetMetaData para el ID del objeto de Vineyard y verifica que la ausencia de un objeto no bloquee las sesiones posteriores ni provoque un segmentation fault, mientras que la recarga de un grafo válido sigue realizándose correctamente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
I have analytics engine deployed using this chart (https://github.com/alibaba/GraphScope/tree/main/charts/graphscope). This is deployed on a k8s cluster and has all the necessary components (coordinator, engine and vineyard). I am able to establish session using the coordinator ip address and then load data into vineyard from a pvc. However, once I close the session and reconnect, and then if I try to reload graph from vineyard using vineyard object id, it doesn't work and fails with the following error. Note that, after getting this error, the session just freezes and newer sessions also fail to establish and a cleanup & redeploy is needed. The error seems similar to this issue - https://github.com/alibaba/GraphScope/issues/4314, not sure if it also has the same rootcause.
2025-04-14 22:23:42,742 [INFO][session:597]: Connecting graphscope session with address: xxx.xxx.xxx.xxx:xxxx
2025-04-14 22:23:42,747 [INFO][rpc:69]: GraphScope coordinator service connected.
I0414 22:23:53.000000 318 /home/graphscope/GraphScope/analytical_engine/core/grape_instance.cc:1268] Registering Graph, graph type: ARROW_PROPERTY, Type signature: 41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2, lib path: /tmp/gs/builtin/41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2/lib41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2.so
I0414 22:23:53.000000 256 /home/graphscope/GraphScope/analytical_engine/core/grape_instance.cc:1268] Registering Graph, graph type: ARROW_PROPERTY, Type signature: 41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2, lib path: /tmp/gs/builtin/41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2/lib41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2.so
I0414 22:23:53.000000 293 /home/graphscope/GraphScope/analytical_engine/core/grape_instance.cc:1268] Registering Graph, graph type: ARROW_PROPERTY, Type signature: 41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2, lib path: /tmp/gs/builtin/41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2/lib41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2.so
I0414 22:23:53.000000 226 /home/graphscope/GraphScope/analytical_engine/core/grape_instance.cc:1268] Registering Graph, graph type: ARROW_PROPERTY, Type signature: 41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2, lib path: /tmp/gs/builtin/41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2/lib41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2.so
I0414 22:23:53.000000 318 /home/graphscope/GraphScope/analytical_engine/core/grape_instance.cc:145] Loading graph, graph name: graph_G9a1e0uR, graph type: ArrowFragment, type sig: 41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2
I0414 22:23:53.000000 256 /home/graphscope/GraphScope/analytical_engine/core/grape_instance.cc:145] Loading graph, graph name: graph_G9a1e0uR, graph type: ArrowFragment, type sig: 41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2
I0414 22:23:53.000000 293 /home/graphscope/GraphScope/analytical_engine/core/grape_instance.cc:145] Loading graph, graph name: graph_G9a1e0uR, graph type: ArrowFragment, type sig: 41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2
I0414 22:23:53.000000 226 /home/graphscope/GraphScope/analytical_engine/core/grape_instance.cc:145] Loading graph, graph name: graph_G9a1e0uR, graph type: ArrowFragment, type sig: 41df71fc38edd891f4de0d9004c663e762002931afbe51e1e2fef7ef610ff9c2
[error] Check failed: Object not exists: failed to get metadata for 'o658d999fe5c00059': failed to read get_data reply: {"content":null,"type":"get_data_reply"} in "this->GetMetaData(id, meta, sync_remote)"
*** Aborted at 1744669433 (unix time) try "date -d @1744669433" if you are using GNU date ***
[error] Check failed: Object not exists: failed to get metadata for 'o658d999fe5c00059': failed to read get_data reply: {"content":null,"type":"get_data_reply"} in "this->GetMetaData(id, meta, sync_remote)"
*** Aborted at 1744669433 (unix time) try "date -d @1744669433" if you are using GNU date ***
[error] Check failed: Object not exists: failed to get metadata for 'o658d999fe5c00059': failed to read get_data reply: {"content":null,"type":"get_data_reply"} in "this->GetMetaData(id, meta, sync_remote)"
*** Aborted at 1744669433 (unix time) try "date -d @1744669433" if you are using GNU date ***
PC: @ 0x0 (unknown)
*** SIGSEGV (@0x68) received by PID 288 (TID 0x7fe90973f640) from PID 104; stack trace: ***
PC: @ 0x0 (unknown)
[error] Check failed: Object not exists: failed to get metadata for 'o658d999fe5c00059': failed to read get_data reply: {"content":null,"type":"get_data_reply"} in "this->GetMetaData(id, meta, sync_remote)"
*** Aborted at 1744669433 (unix time) try "date -d @1744669433" if you are using GNU date ***
*** SIGSEGV (@0x68) received by PID 251 (TID 0x7fc73a3e1640) from PID 104; stack trace: ***
PC: @ 0x0 (unknown)
*** SIGSEGV (@0x68) received by PID 313 (TID 0x7f36c9091640) from PID 104; stack trace: ***
@ 0x7fe9188b4046 (unknown)
@ 0x7fc749909046 (unknown)
PC: @ 0x0 (unknown)
*** SIGSEGV (@0x68) received by PID 221 (TID 0x7f1877fff640) from PID 104; stack trace: ***
@ 0x7fe915fec520 (unknown)
@ 0x7f36d8bfd046 (unknown)
@ 0x7fe8f490ad96 std::__detail::_Map_base<>::at()
@ 0x7fe8f48c639e LoadGraph
@ 0x555b064b2f08 gs::GrapeInstance::loadGraph()
@ 0x555b064b8ad5 gs::GrapeInstance::OnReceive()
@ 0x7fc747041520 (unknown)
@ 0x7fc7400e7d96 std::__detail::_Map_base<>::at()
@ 0x555b0654b39a gs::Dispatcher::processCmd()
@ 0x7fc7400a339e LoadGraph
@ 0x555b0654d0ce gs::Dispatcher::subscriberLoop()
@ 0x55f1bf86cf08 gs::GrapeInstance::loadGraph()
@ 0x55f1bf872ad5 gs::GrapeInstance::OnReceive()
@ 0x55f1bf90539a gs::Dispatcher::processCmd()
@ 0x55f1bf9070ce gs::Dispatcher::subscriberLoop()
@ 0x7f36d6335520 (unknown)
@ 0x7f36bcd08d96 std::__detail::_Map_base<>::at()
@ 0x7f36bccc439e LoadGraph
@ 0x563b31d28f08 gs::GrapeInstance::loadGraph()
@ 0x7f18873af046 (unknown)
@ 0x563b31d2ead5 gs::GrapeInstance::OnReceive()
@ 0x563b31dc139a gs::Dispatcher::processCmd()
@ 0x563b31dc3b16 gs::Dispatcher::publisherLoop()
@ 0x7fe9162d1253 (unknown)
@ 0x7fc747326253 (unknown)
@ 0x7f1884ae7520 (unknown)
@ 0x7f187450cd96 std::__detail::_Map_base<>::at()
@ 0x7f36d661a253 (unknown)
@ 0x7f18744c839e LoadGraph
@ 0x559cb8b5bf08 gs::GrapeInstance::loadGraph()
@ 0x559cb8b61ad5 gs::GrapeInstance::OnReceive()
@ 0x559cb8bf439a gs::Dispatcher::processCmd()
@ 0x559cb8bf60ce gs::Dispatcher::subscriberLoop()
@ 0x7fe91603eac3 (unknown)
@ 0x7fc747093ac3 (unknown)
@ 0x7f36d6387ac3 (unknown)
@ 0x7fe9160d0850 (unknown)
@ 0x7f1884dcc253 (unknown)
@ 0x7fc747125850 (unknown)
@ 0x7f36d6419850 (unknown)
@ 0x7f1884b39ac3 (unknown)
@ 0x7f1884bcb850 (unknown)
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 251 on node gs-engine-ll-2 exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------
To Reproduce
Steps to reproduce the behavior:
- Deploy graphscope chart with GAE enabled on k8s.
- Create a session
graphscope.session(addr='xxx.xxx.xxx.xxx:xxxxx',enabled_engines='gae'. - Load data into graph (g). Just doing
g = sess.g(oid_type="string")is also enough. - Note the vineyard_id using
g.vineyard_id. - Close the session
sess.close(). - Create another session (to same cluster).
- Try to load graph back from vineyard using
sess.load_from(vineyard.ObjectID(<object_id>). Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):
- GraphScope version: v0.31.0
- OS: [e.g. macOS, Linux]: Linux
- Version [e.g. 10.15]
- Kubernetes Version [e.g., 1.19]
- Lenguaje dominante
- C++
- Estrellas
- 3.6k
- Forks
- 470
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de alibaba/GraphScope
-
[BUG] Failed archive extraction deletes the dataset cachePosiblemente ocupada @dajiaohuang la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
alibaba/GraphScope#4674 ·
-
Please add multi-tenancyAbiertostale
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
alibaba/GraphScope#4655 · 2 comentarios ·
-
stale
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
alibaba/GraphScope#4654 · 2 comentarios ·
-
stale
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
alibaba/GraphScope#4647 · 3 comentarios ·
-
[BUG] IC14无法用Cypher执行Abiertostale
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
alibaba/GraphScope#4639 · 2 comentarios ·
Todos los issues de alibaba/GraphScope
Issues similares
-
bug priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
chipsalliance/verible#2644 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
grafana/pyroscope-dotnet#470 ·
Los mantenedores suelen responder en 1 día
-
documentation P5 XS
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
open-astro/AlpacaBridge#1848 ·
Los mantenedores suelen responder en 1 día
-
DiskANN AnnIterator returns unconverted IP distances after the graph walk runs out of candidatesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
zilliztech/knowhere#1933 ·
Los mantenedores suelen responder en 1 día