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

DO NOT MERGE: indexer 2.8.0 #800

Merged
merged 55 commits into from
Nov 30, 2021
Merged

DO NOT MERGE: indexer 2.8.0 #800

merged 55 commits into from
Nov 30, 2021

Conversation

Algo-devops-service
Copy link
Contributor

@Algo-devops-service Algo-devops-service commented Nov 29, 2021

GitHub Logo

Important Notice

NOTE: This release of the indexer REQUIRES a full rebuild with a new database.

Indexer 2.8.0 is NOT backward compatible with 2.6.4 and must be rebuilt with a new database. This release contains significant changes to unify the accounting logic used by Indexer and Algod. A side effect of this work is that data from earlier releases do not work for the new release. If you attempt to upgrade an older database, Indexer will exit with an error.

We made this decision to simplify maintenance long-term of keeping Indexer and Algod's accounting consistent.

Highlights

  • Complete overhaul of indexer accounting.
  • Enhancements to import performance.
  • Bug fixes for special cases

Enhancements

Bug Fixes

algobarb and others added 30 commits September 29, 2021 17:40
* Make EncodeJSON() private.

* Run go mod tidy.

* Add missing file (facepalm).
* Fetch block concurrently.

* PR feedback.
…rted (#711)

* Add a migration that fails telling the user that upgrade is not supported.

* Replace all other migrations with upgradeNotSupported().

* PR suggestion.
* Cleanup in import and migration state.

* Restore MigrationState.
* Bump timeout to 59 seconds

* Bump version to 2.6.2

* Update indexer build to include static library flags.

* Fixed reference  to OS_TYPE environment variable.

* Added additional GOTAGLIST and GOBUILDMODE flags.

* Added static ld flags to release.py script.

* Updated makefile static ld flags.

* Revert formatting change.

Co-authored-by: Brice Rising <[email protected]>
Co-authored-by: Barbara Poon <[email protected]>
…d number (#728)

* Allow 0 retries during validation in block generator.

* Return 200 retries.

* The accounts endpoint should return the correct round number.
* fixes

* one more

* PR feedback

* another small change
* Add LogsOverride and integration test to parse null-character and bad UTF8 logs

* Add inner txns conversions and decoding for logs

* Add and modify tests for inner txn and log encoding

* Remove helper function as per PR comment

* Move encoding tests to newer function
* Enable special accounts.

* Update comment for the metastate table.

* Update go-algorand.

* Remove integration tests related to special accounts.
* Adding HTTP Error responses

* Rebase on master resolving conflicts + minor copy paste error + regenerating go files.

* Rebase on master to resolve conflicts + running: generate.sh

* Rebase on master to resolve conflicts + running: generate.sh

* Adding 404 Response for LookupBlock

* Removing 404 on /v2/applications

Co-authored-by: Tolik Zinovyev <[email protected]>
Postgres transaction query now returns the root transaction when matching an inner transaction.
Response processor logic to build the root transaction + deduplication.
Transaction paging token offsets for inner transaction count.
tolikzinovyev and others added 18 commits November 3, 2021 13:42
* Improve DB indexes for better worst case accounting time.

* Trigger CI.
* Use integer for root intra in TxnExtra.

* Update comment.
* Search for serialization error in function's return error.

* Add a test.
* Write app call addresses in txn_participation table.

* Merge tests.
* Write zero address in txn_participation table.

* Add comments.

* Add a restriction.

* Move error msg to error_messages.go.

* Take out parameter validation out of transactionParamsToTransactionFilter().

* Run make fmt.
@algobarb algobarb merged commit cf2a387 into master Nov 30, 2021
@onetechnical onetechnical deleted the release/2.8.0 branch February 1, 2022 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.