Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove cursorID from Steps
  • Loading branch information
markuspf committed Nov 27, 2025
commit bf89601289f80ee9fd94cabf1213d090e0f58df6
3 changes: 1 addition & 2 deletions arangod/Graph/Providers/SingleServerProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ auto SingleServerProvider<Step>::expand(

EdgeDocumentToken edgeToken{neighbour.eid};
callback(Step{id, std::move(edgeToken), previous, step.getDepth() + 1,
_opts.weightEdge(step.getWeight(), edge),
neighbour.cursorId});
_opts.weightEdge(step.getWeight(), edge)});
// TODO [GraphRefactor]: Why is cursorID set, but never used?
// Note: There is one implementation that used, it, but there is a high
// probability we do not need it anymore after refactoring is complete.
Expand Down
2 changes: 1 addition & 1 deletion arangod/Graph/Steps/SingleServerProviderStep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ SingleServerProviderStep::SingleServerProviderStep(VertexType v,
SingleServerProviderStep::SingleServerProviderStep(VertexType v,
EdgeDocumentToken edge,
size_t prev, size_t depth,
double weight, size_t)
double weight)
: BaseStep(prev, depth, weight), _vertex(v), _edge(std::move(edge)) {}

SingleServerProviderStep::~SingleServerProviderStep() = default;
Expand Down
2 changes: 1 addition & 1 deletion arangod/Graph/Steps/SingleServerProviderStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class SingleServerProviderStep : public arangodb::graph::BaseStep {
SingleServerProviderStep(VertexType v);
SingleServerProviderStep(VertexType v, EdgeDocumentToken edge, size_t prev);
SingleServerProviderStep(VertexType v, EdgeDocumentToken edge, size_t prev,
size_t depth, double weight, size_t);
size_t depth, double weight);
SingleServerProviderStep(VertexType v, size_t depth, double weight = 0.0);
~SingleServerProviderStep();

Expand Down