Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The KeyManagementBackedAccountService implementation fails to retrieve the accounts when the number of accounts exceeds DEFAULT_PAGE_SIZE #99

Open
mevir opened this issue Jul 27, 2020 · 0 comments · May be fixed by #100

Comments

@mevir
Copy link

mevir commented Jul 27, 2020

The

net.corda.core.node.services.VaultQueryException: 
There are <n> results, which exceeds the limit of 200 for queries that do not specify paging. In order to retrieve these results, provide a `PageSpecification(pageNumber, pageSize)` to the method invoked.

exception is thrown by the following functions implemented in the KeyManagementBackedAccountService:

  • accountsForHost(host: Party) - when the number of accounts for host is greater than the vault DEFAULT_PAGE_SIZE
  • ourAccounts() - when the number of accounts for hosted by the node is greater than the vault DEFAULT_PAGE_SIZE
  • allAccounts() - when the total number of accounts in the node is greater than the vault DEFAULT_PAGE_SIZE
@mevir mevir changed the title The KeyManagementBackedAccountService implementation fails to retrieve the accounts when the number of accounts exceeds DEFAULT_PAGE_SIZE The KeyManagementBackedAccountService implementation fails to retrieve the accounts when the number of accounts exceeds DEFAULT_PAGE_SIZE Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant