Skip to content

Commit

Permalink
not allow to read data from follower
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 committed Nov 5, 2024
1 parent 2926644 commit 512bdb5
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ trait NebulaReader {
nebulaOptions.limit,
0,
Long.MaxValue,
true,
false,
true)
} else {
vertexResponseIterator =
Expand All @@ -194,7 +194,7 @@ trait NebulaReader {
nebulaOptions.limit,
0,
Long.MaxValue,
true,
false,
true)
}
} catch {
Expand Down Expand Up @@ -240,8 +240,8 @@ trait NebulaReader {
nebulaOptions.limit,
0L,
Long.MaxValue,
true,
true)
false,
false)
} else {
edgeResponseIterator = storageClient.scanEdge(nebulaOptions.spaceName,
scanPartIterator.next(),
Expand All @@ -250,8 +250,8 @@ trait NebulaReader {
nebulaOptions.limit,
0,
Long.MaxValue,
true,
true)
false,
false)
}
} catch {
case e: Exception =>
Expand Down

0 comments on commit 512bdb5

Please sign in to comment.