https://nebula-graph.io logo
Docs
Join the conversationJoin Slack
Channels
announcements
bot-test
default
general
gsoc-2022
introductions
local-nebula-china
nebula
nebula-community-meeting
nebula-hackathon-2021
nebula-users
ngql
random
wechat-sync-archive
wechat-sync-jupiter
wechat-sync-venus
Powered by Linen
nebula-users
  • s

    Sandeep

    09/30/2022, 11:52 AM
    Hi team. Is it possible to mention domain instead of IP for meta_server_addrs in configuration files?
    w
    • 2
    • 2
  • g

    Goran Cvijanovic

    09/30/2022, 12:49 PM
    I think no. But you can try.
    ❤️ 1
  • s

    Sandeep

    10/01/2022, 8:48 PM
    Does the Nebula Java client supports transactions (commit, rollback) ? I checked the client but unable to find any transaction support. Kindly help me in this regard
  • g

    Goran Cvijanovic

    10/02/2022, 6:48 AM
    No transactions, just atomic read/writes using raft.
  • s

    Sandeep

    10/02/2022, 11:13 AM
    May i know the reason behind not supporting transactions in Java client? Aren't transactions necessary? In fact, one of use-cases demands it.
  • w

    wey

    10/02/2022, 1:06 PM
    For now, we have to do read after write and do rollback if needed from the application layer as NebulaGraph DB core doesn’t support transactions for now.
  • s

    Sandeep

    10/02/2022, 8:22 PM
    Okay. Thanks for the information.
  • s

    Sandeep

    10/02/2022, 8:27 PM
    One more query. I'm using GO statement to retrieve 2nd degree vertices and the result set contains vertices mapped with either of the two tags (Tag_A or Tag_B). In such a case, how do I apply filter/condition to print only the vertices of Tag_A type? GO 2 STEPS FROM "123456" OVER * WHERE tags($$)=="Tag_A" YIELD id($$); I tried the above query but couldn't achieve the desired result
    j
    w
    • 3
    • 3
  • s

    Sandeep

    10/06/2022, 10:32 AM
    Hi. Does Nebula Java client supports batch insert?
  • s

    Sandeep

    10/10/2022, 8:33 AM
    Can anyone please confirm if the Nebula Java client supports batch insert? I checked and looks like it is not supported. Wanted to confirm.
    w
    • 2
    • 2
  • s

    Sandeep

    10/11/2022, 11:41 PM
    Hi team. Do I have an advantage in terms of performance/lookup speed when choosing int64 as VID over string? I've a vertex which stores a domain name in it (The vertex is associated with a tag named "domain" and domain name is one of its properties). In terms of querying, domain name will be used in most of the cases to query a particular vertex. In such a scenario, should I choose domain name as VID (String type) or use hash algorithm such as snowflake (As suggested in the docs) to generate an int64 and use it as VID. Can you please clarify on the query performance part when using int64 over string as VID?
    w
    g
    • 3
    • 4
  • s

    Sandeep

    10/17/2022, 10:02 AM
    Any plans to provide support for rolling upgrade? Upgrading clusters with zero-downtime is necessary for us.
  • g

    Goran Cvijanovic

    10/17/2022, 11:13 AM
    It can be done for minor version upgrade, eg 3.2.0 to 3.2.1 (will se for 3.3.0 but I suppose it will be the same) which I did few days ago, upgrading cluster node by node without downtime.
    👍 1
  • s

    Sandeep

    10/17/2022, 3:45 PM
    Oh okay. Can you please confirm if the support for rolling upgrade (For major version) is in your roadmap? @wey
    w
    • 2
    • 2
  • s

    Sandeep

    11/14/2022, 12:26 PM
    Hi team. I've got few queries regarding the usage of domains(Instead of hosts IP) in nebula 1. I had setup 3 meta nodes and DNS mapping was made for 3 of the hosts IP to a single domain. When I configured the domain in place of meta-addrs in the conf file, only one of the IPs were mapped as meta and not all three. May I know the reason for this behaviour? 2. In client side, from Java, what is the suggested method to configure graph processes' IPs? As hosts IP may change at times, i thought of having a DNS mapping to the IPs and provide the domains in Java while making connection. Is this method a suggested one? Also, are DNS lookup results cached in the client side and if cached, how frequent they're invalidated and updated in client side? It would be great if you guys share some insights on this matter. Thank you
    g
    w
    • 3
    • 3
  • g

    Goran Cvijanovic

    11/14/2022, 1:40 PM
    I’m using IP addresses in config files, because it is at the end, stored in internal structures of Nebula database. Connecting with DNS names can be used, so client connections can be with DNS names specified.
    ❤️ 1
  • g

    Goran Cvijanovic

    11/17/2022, 9:07 AM
    What this statement means, from documentation for INSERT EDGE ?
    When inserting an edge that already exists, INSERT VERTEX *overrides* the edge.
    w
    • 2
    • 2
  • g

    Goran Cvijanovic

    11/29/2022, 4:08 PM
    I’ve executed some queries using FETCH with VertexID but for first request for specific VertexID always got
    [ERROR (-1005)]: Storage Error: Not the leader of 103. Please retry later.
    second request returns valid response. Also some request don’t return any results for keys that were inserted earlier. I’ve upgraded my cluster to 3.3.0 version from 3.2.1 one node at a time. fyi: one parameter for rocksdb I’ve changed
    --rocksdb_compression_per_level=no:no:lz4:lz4:lz4hc:lz4hc:lz4hc
    from default setting that was empty string can that change have impact to not be able to query some of the data ? I’ve actually changed another one, using query optimizer, previously it was disabled !
    --enable_optimizer=true
  • g

    Goran Cvijanovic

    11/29/2022, 9:00 PM
    Did you tested compression change on already populated database and is there need to execute some compaction or some other action to have data available for query ?
    w
    • 2
    • 10
  • g

    Goran Cvijanovic

    11/30/2022, 8:12 AM
    Here are some errors I’ve got when executing LOOKUP query
    E20221129 23:24:55.530879 332829 StorageAccessExecutor.h:39] IndexScanExecutor failed, error E_RPC_FAILURE, part 90
    E20221129 23:24:55.530885 332829 StorageAccessExecutor.h:39] IndexScanExecutor failed, error E_RPC_FAILURE, part 92
    E20221129 23:24:55.530894 332829 StorageAccessExecutor.h:39] IndexScanExecutor failed, error E_RPC_FAILURE, part 95
    E20221129 23:24:55.530901 332829 StorageAccessExecutor.h:39] IndexScanExecutor failed, error E_RPC_FAILURE, part 96
    E20221129 23:24:55.530913 332829 StorageAccessExecutor.h:136] Storage Error: part: 124, error: E_RPC_FAILURE(-3).
    E20221129 23:24:55.530952 332825 QueryInstance.cpp:137] Storage Error: part: 124, error: E_RPC_FAILURE(-3).
  • s

    Sandeep

    12/01/2022, 2:11 PM
    Hi Team. Got a query. I've defined an edge type with four properties in it. I'm using rank to add multiple edges with same edge type, source vertex, destination vertex by using different rank values(These edges differ in properties). My flow to add an edge (Implementation in Java using nebula-jdbc) is the following 1. I query to check if an edge with the same properties exists. 2. If it doesn't exists, I query again to get the max rank of the edge type between the vertices 3. Now, after fetching the max rank, I increment it and then create a new edge with the incremented rank. My questions: 1. Suppose I do a parallel write and when I try to get the max rank, there is a possibility for the same max rank to be returned when things run in parallel. In such a case, two parallel write requests with the max rank will be executed. This doesn't create two different edges but overrides one another. How should it be handled? 2. If there is a better approach to handle this, kindly let me know.
    w
    • 2
    • 2
  • s

    Sandeep

    02/01/2023, 3:20 PM
    Hi team. Is there an option to send logs to syslog? If yes, can you please share the procedure
    ❤️ 1
    w
    • 2
    • 2
  • s

    Sandeep

    02/16/2023, 10:40 AM
    Hi. I've enabled the "redirect_stdout" flag in the conf file. Although, I've enabled it, corresponding logs are not being written to the stdout.log file, while logs are being written to the stderr.log file correctly. Anyone facing similar issue?
    w
    • 2
    • 2
  • k

    Kasper

    02/20/2023, 11:30 AM
    Hello, I've been trying to implement versioning/data provenance by using edge attributes - data could be versioned/have provenance tracked by having edges of the same type between two entities only differing by a version/dataset attribute. It seems though that you cannot have edges like that. Is that expected? This caught me somewhat by surprise and I checked with Neo4j and they allow that. Am I doing something wrong or is it a design decision?
  • g

    Goran Cvijanovic

    02/20/2023, 1:00 PM
    It is by design, last property overwrite previous, but you can use RANK to differentiate same edge type versions. That feature can’t be used with Cypher queries.
    OpenCypher has no such concept as rank.
    ❤️ 1
    k
    w
    • 3
    • 5
  • g

    Goran Cvijanovic

    02/20/2023, 1:01 PM
    https://docs.nebula-graph.io/3.4.0/3.ngql-guide/13.edge-statements/1.insert-edge/
  • s

    Sandeep

    03/06/2023, 7:54 AM
    Hi team! I've a tag type "report" and have stored the id of a report as a edge property. When I try to retrieve the report id(stored as edge property) using GO query and then use FETCH query to get the report details, the following error is thrown "[ERROR (-1009)]: SemanticError: `reportIDs', the srcs should be type of FIXED_STRING, but was`__EMPTY__'". Can't we store the id as edge property and then retrieve it and use it in FETCH query? Please find the query below: GO FROM "196.210.231.155" OVER edge_type_1 REVERSELY YIELD id($$) as idList | GO FROM $-.idList OVER edge_type_2 YIELD properties(edge).report_id as reportIDs | FETCH PROP ON report $-.reportIDs YIELD vertex as v;
  • g

    Goran Cvijanovic

    03/06/2023, 8:25 AM
    Just observation here, it looks like some of the properties on edge are empty, but in general it looks strange. Maybe you can add filter to get only edges with properties which are not empty.
    ❤️ 1
  • s

    Sandeep

    03/16/2023, 8:48 AM
    Hi team. Is there support to run NebulaGraph in Debian OS v11?
  • w

    wey

    03/16/2023, 2:13 PM
    should be fine, not precisely tested though, you could try with the closest .deb package for Ubuntu, just in case anything unexpected happens, let the community know:)
    s
    • 2
    • 1
Powered by Linen
Title
w

wey

03/16/2023, 2:13 PM
should be fine, not precisely tested though, you could try with the closest .deb package for Ubuntu, just in case anything unexpected happens, let the community know:)
s

Sandeep

03/17/2023, 6:52 AM
Okay. Thankyou wey!
🙌 1
View count: 2