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

Change default iavl-disable-fastnode and indexer values. #1807

Merged
merged 4 commits into from
Jan 11, 2024

Conversation

SpicyLemon
Copy link
Contributor

@SpicyLemon SpicyLemon commented Jan 11, 2024

Description

This PR changes the default iavl-disable-fastnode value to false and the default tx_index.indexer value to "null". It also allows the tx_index.indexer value to be either "" or "null" without issuing a warning.


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@SpicyLemon SpicyLemon marked this pull request as ready for review January 11, 2024 17:52
@SpicyLemon SpicyLemon requested a review from a team as a code owner January 11, 2024 17:52
Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0c19cc8) 73.96% compared to head (80e7b9d) 73.97%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1807      +/-   ##
==========================================
+ Coverage   73.96%   73.97%   +0.01%     
==========================================
  Files         315      315              
  Lines       44762    44764       +2     
==========================================
+ Hits        33108    33114       +6     
+ Misses      10274    10269       -5     
- Partials     1380     1381       +1     
Files Coverage Δ
app/store_loader.go 100.00% <100.00%> (ø)
cmd/provenanced/config/manager.go 60.32% <100.00%> (+0.18%) ⬆️

... and 1 file with indirect coverage changes

@SpicyLemon SpicyLemon enabled auto-merge (squash) January 11, 2024 18:06
@SpicyLemon SpicyLemon merged commit 8823024 into main Jan 11, 2024
40 checks passed
@SpicyLemon SpicyLemon deleted the dwedul/indexer-iavlfn-defaults branch January 11, 2024 19:37
SpicyLemon added a commit that referenced this pull request Jan 11, 2024
* Don't issue a warning on start when the indexer is the string 'null'. That's what the config file says to use.

* Set the default iavl-disable-fastnode to false and the default tx_index.indexer to 'null'.

* Add Changelog entry.

* Add unit test for no wait for an indexer of 'null'.
SpicyLemon added a commit that referenced this pull request Jan 11, 2024
* Don't issue a warning on start when the indexer is the string 'null'. That's what the config file says to use.

* Set the default iavl-disable-fastnode to false and the default tx_index.indexer to 'null'.

* Add Changelog entry.

* Add unit test for no wait for an indexer of 'null'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants