subql icon indicating copy to clipboard operation
subql copied to clipboard

Enable store countAll and getAll under unsafe mode

Open jiqiang90 opened this issue 2 years ago • 1 comments

Prerequisites

  • [ ] Are you running the latest version(s)?
  • [ ] Have you searched the documentation for your issue?
  • [ ] Did you search for an existing issue or pull request?

Description

We been drop this feature since v2, but now have some feedbacks from customer this is useful. We can enable it under unsafe mode.

Details

These details can help to reproduce the environment the issue is occurring

Local Environment: [You can get this information from executing subql version.] Query Version: [What is the version of the query service?] Indexer Version: [What is the version of the indexer service?] Network Details:

  • [Network]
  • [Block height, a block height where the issue is happening]
  • [Dictionary endpoint, if used]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Example project: [A link to a minimal example that can reproduce the issue]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Any other information

Is there any other information you would like to add?

jiqiang90 avatar Jul 27 '23 00:07 jiqiang90

Would be nice if we can improve totalCount performance in query service at the same time

jiqiang90 avatar Jul 30 '23 21:07 jiqiang90