(Walk r)
| 387 | } |
| 388 | |
| 389 | @Override |
| 390 | protected long ProcessWalkRequest(Walk r) throws Exception { |
| 391 | if (r.Argument.getExclusiveStartKey().size() > 0 |
| 392 | && !stateMachine.getBucket().inBucket(r.Argument.getExclusiveStartKey())) { |
| 393 | r.Result.setBucketRefuse(true); |
| 394 | r.SendResult(); |
| 395 | return 0; |
| 396 | } |
| 397 | var bucketEnd = walk( |
| 398 | r.Argument.getExclusiveStartKey(), |
| 399 | r.Argument.getProposeLimit(), |
| 400 | r.Argument.isDesc(), |
| 401 | r.Argument.getPrefix(), |
| 402 | (key, it) -> r.Result.getKeyValues().add(new BWalkKeyValue.Data(key, new Binary(it.value())))); |
| 403 | r.Result.setBucketEnd(bucketEnd); |
| 404 | r.SendResult(); |
| 405 | return 0; |
| 406 | } |
| 407 | |
| 408 | @Override |
| 409 | protected long ProcessWalkKeyRequest(WalkKey r) throws Exception { |
nothing calls this directly
no test coverage detected