Skip to content

fluree/server hanging on transaction requests after large request #948

@jdorety

Description

@jdorety

Using Docker image tagged fluree/server:5839ffe273062b8da972b120deb54dd62e7c3d1f

The series of transactions contained in test-txs.zip appears to have placed my nexus-app ledger in a state where it will not complete subsequent transactions in a timely manner (if at all?)
Nodes in the ledger do appear to have been created from the requests, as illustrated in the below series of snippets.

TX request body:

{
    "ledger": "nexus-app",
    "insert": [{
        "@id": "gleep",
        "message": "glorp"
    }]
}

Eventual response:

{
    "error": "db/response-timeout",
    "message": "Timeout waiting for transaction to complete for: nexus-app with tx-id: 29cdaceb0a06395ae1b784eba810aa2f4ed7010ea5e0b45b968d24a91f06e3db"
}

Query:

{
    "@context": {
        "f": "https://ns.flur.ee/ledger#",
        "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
        "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
        "schema": "http://schema.org/",
        "owl": "http://www.w3.org/2002/07/owl#",
        "sh": "http://www.w3.org/ns/shacl#",
        "skos": "http://www.w3.org/2008/05/skos#",
        "xsd": "http://www.w3.org/2001/XMLSchema#",
        "ex": "http://example.org/",
        "id": "@id",
        "type": "@type",
        "accounts": {
            "@reverse": "userId"
        }
    },
    "select": {
        "gleep": ["*"]
    },
    "from": "nexus-app"
}

returns this response

[
    {
        "id": "gleep"
    }
]

FWIW, I attempted this query: this doesn't work like I thought it did

{
  "select": {
          "?l": ["*"]
      },
      "where": {
          "id": "?l",
          "tx-id": "29cdaceb0a06395ae1b784eba810aa2f4ed7010ea5e0b45b968d24a91f06e3db"
      },
      "from": "nexus-app"
}

and received [] in response

Here's the relevant(?) transaction record data

[
    {
        "f:alias": "nexus-app",
        "f:time": 1736359868733,
        "f:txn": "fluree:file://nexus-app/txn/29cdaceb0a06395ae1b784eba810aa2f4ed7010ea5e0b45b968d24a91f06e3db.json",
        "f:previous": {
            "id": "fluree:commit:sha256:bbviwrrw4ry3wppjriz27zso32q2qcy36qglc3czbubaeohatqb6x"
        },
        "id": "fluree:commit:sha256:bbghbw5ixtnfwrhh6zwd7oi7yqxhsgv3xzkcthsex77tdnp33ech4",
        "f:v": 1,
        "f:branch": "main",
        "f:address": "fluree:file://nexus-app/commit/0fd799482171b8bfb1612f813ac8c0b7b82fde300c207310528ae326dd23690f.json",
        "f:data": {
            "f:address": "fluree:file://nexus-app/commit/4f2a62ac14611c9adb855d607b06bdcbf0af11d4a64dc5fbcfccdc3ab187487b.json",
            "f:flakes": 69634,
            "f:previous": {
                "id": "fluree:db:sha256:bbpl63mkmfkujh2pury7dz4hlpmd2lzuidjrtelpxfslsvqxfen64"
            },
            "f:size": 61218813,
            "f:t": 4,
            "id": "fluree:db:sha256:bt5jau735tolbjmz5bntvpbqiz3uonrxnlmounwm5nestgflsoyb"
        }
    }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions