- Jun 15, 2020
-
-
Alex Sharov authored
* don't call initCursor on happy path * don't call initCursor on happy path * don't run stale reads goroutine for inMem mode * don't call initCursor on happy path * remove buffers from cursor object - they are useful only in Badger implementation * commit kv benchmark * remove buffers from cursor object - they are useful only in Badger implementation * remove buffers from cursor object - they are useful only in Badger implementation * cancel server before return pipe to pool * try to fix test * set field db in managed tx
-
- Jun 14, 2020
-
-
Alex Sharov authored
* set Pooled=true * don't call initCursor on happy path
-
- Jun 13, 2020
-
-
ledgerwatch authored
* Fix body fetch * Reduce spurious reorgs * Exit the sync cycle after unwinds * Fix out of range * No stalling check for staged sync * Disable failing tests * Remove duplicate log message * Fix UnwindTest and add assertions * Fix formatting * Cleanup * Fix off by one error with bodies * Remove rollback
-
Igor Mandrigin authored
* lil etl changez * fix test compile * fixups to the unwinds * add new buffer mode * support unfinished transitions * fixups * fix tests * linters * linters
-
ledgerwatch authored
-
Alex Sharov authored
* Enable NoReadahead by default * don't call lmdb.IsNotFound on happy path Co-authored-by:
Alexey Akhunov <akhounov@gmail.com>
-
Alex Sharov authored
-
ledgerwatch authored
* Fixes to stages * Fix formatting * Fixes to stages * Fix formatting * Fix linter * Fix lint * Updates * Next update * Update * Test works * Cleanup * Fix formatting * Fix formatting * Cleanup * Fix core test * Reinstate randomness for reorgs
-
- Jun 12, 2020
-
-
Alex Sharov authored
* remove unused slice from MultiPut * mutation: reuse tuples slice and preallocate bucketPuts * use bucketPool in kv_lmdb * remove duplicated check of context status * more benchmarks * remove reusage of puts
-
Andrew Ashikhmin authored
* Profile all stages * Try to recover senders with 8 goroutines * fix CPU profiling for stage_bodies * fix out-of-index * Try full DAG for verfication of header seals * Try to unroll fnvHash for performance * SSE2 assembly for fnvHash16 * fnvHash16AVX2 * Revert changes to state.go * check we're on 64-bit in useAVX2 * Shave a move off fnvHash16AVX2 * asmdecl doesn't know about VMOVD * disable linter in the right place
-
Alex Sharov authored
* Upgrade lmdb to version of 2019, which is compatible with https://github.com/jnwatson/py-lmdb (lmdb of 2020 year version - upgaded lock file version from 1 to 2 - and python binding can't open database if lockfile exists - if main app is running).
-
Alex Sharov authored
* remove ctx from MustOpen * remove ctx from Open. Stop goroutines on Close. * remove ctx from Open. Stop goroutines on Close. * remove ctx from remote open (we have DialTimeout field to manage connection timeouts) * enable RawReads and add native implementation of Get/Has methods
-
Alex Sharov authored
-
Alex Sharov authored
-
Alex Sharov authored
-
- Jun 11, 2020
-
-
ledgerwatch authored
* Debug infos * bucketStats lmdb by default * Use bools instead of strings * Fix linters * Fix linter * Finally fix * Fix compile error * Fix test * Fix formatting * Fix shadowing * Cleanup * cleanup
-
- Jun 10, 2020
-
-
b00ris authored
* save state * txlookup full results * save state * save state * remove experiments * some fix&lint * add end key to txLookup and index generation * change log message * change log * fix lint * lint * fix test
-
Alex Sharov authored
* lmdb bucket stats * fix lint warnings * add bucket.Size method * add bucket.Size method
-
- Jun 09, 2020
-
-
Andrew Ashikhmin authored
* Euphemerally -> Ephemerally * Move StorageMode to ethdb and pass it to PrepareStagedSync * linter * Remove StorageModeThinHistory and move SetStorageModeIfNotExist into storage_mode.go * Optionally write receipts in the execute stage * memory profiler * linter * proper linter fix * linter * typo * Merge stateDb with changeDb so that all-or-nothing is commited in stage_execute
-
Igor Mandrigin authored
use `s.UpdateWithStageData(db, <block number>, <key>)` to store the key use `s.StageData` with `etl.NextKey` to restart ETL from where it was interrupted.
-
Alex Sharov authored
* enable_golint_with_conditions * enable_golint_with_conditions
-
Andrew Ashikhmin authored
* Upgrade uint256 to v1.1.0 * go mod tidy
-
ledgerwatch authored
* Start from 9m7 * Regenerate IH + receipts * Only stats for iH bucket * Persist receipts * Go all in * Start from block 10m * Convert DbState to use plain state * Fix findHistory * Hard-code export * More fixes * Fix test * Fix formatting * Introduce PlainDbState * Actually return PlainDbState * Fix formatting * Fix name style lint * Fix linters * Fix history_test * Fix blockchain_test * Fix compile error * Bucket stats from all buckets
-
Alex Sharov authored
-
- Jun 08, 2020
-
-
Andrew Ashikhmin authored
-
Alex Sharov authored
* Lmdb internal objects reuse (built-in feature of lmdb): - lmdb read transactions pool - lmdb also support cursors reuse, but not implemented in this PR And kv abstraction objects reuse: - lmdbKV pool of all tx objects - boltKV pool of all tx objects - badgerKV pool of all tx objects * switch makefile back to bolt * switch makefile back to bolt * lmdb test run * switch makefile back to bolt * cursors pool * run lmdb tests * make kv objects pool global * switch makefile back to bolt * remove badgers GOMAXPROC setup, because our app tunned for sequential read/writes, not for random throughput * simplify code
-
Igor Mandrigin authored
* some stubs * post rebase * fixups * linter * linter 2 * Update stages.go
-
- Jun 07, 2020
-
-
ledgerwatch authored
* Query progress * Run stage4 offline * More thorough resetState * Correct BlockNumber * Fix formatting * State loop * do every 200k blocks * Shift to 6.6m * Close dbs in tests * Stage2 with option of no reset * every 100k blocks * Reset state before stage5 * Introduce another stage * Check compile errors * Fix linter * Fix linter * Disable unreliable test * Fix test * Remove unreachable code
-
- Jun 06, 2020
-
-
Evgeny Danilenko authored
* optimize codeBitmap * add lru * remove custom lru * jumpDests as explocit parameter * lint * lint * linters * default jumpDestsCache * remove common.rand
-
Evgeny Danilenko authored
* check stop on every block inside jobs * stop spawnRecoverSendersStage properly * fmt * close recoverSenders goroutines * fmt
-
Alex Sharov authored
-
ledgerwatch authored
* Unwinding for stage5 - start * Fix formatting * Integrated unwind, but no tests yet * Fix formatting * Fix lint * Fix lint * Test for unwind stage5 * Fix formatting
-
Alex Sharov authored
* try lmddb * try badger * try bigger badger * try lmb * release * release * release * release * try badger * try lmdb low memory * try lmdb low memory * lmdb high memory (16Mb not enough for /eth/downloader package) * badger more memory * badger more memory * badger more memory
-
ledgerwatch authored
* Incremental promotion * Fix compile errors * Fix linter * Transform state keys before loading * Re-enable and fix the tests * Fix formatting
-
- Jun 05, 2020
-
-
Evgeny Danilenko authored
* prevent slice make and copy in Pushes * do not pad if the same length * after CR * linters * linters * linters
-
Evgeny Danilenko authored
-
Alex Sharov authored
* lmdb tests * trigger ci * fix tests * disable parallelism * disable parallelism * cleanup resources * cleanup resources * reduce concurency * try run tests on bolt * try run tests on bolt * fix downloader test * run bolt tests * rely on interface instead of exact instance * Rename AbstractKV to KV * don't use separator for badger * don't initialize badger cursor - because it not used here * fix linter * try reduce badger compactors * compat with master * try lmdb * try lmdb * try lmdb * reduce badger's MaxTableSize, reduce badger's minGoMaxProc for inMem option * allow to close closed db * release * release * ideal batch size for badger * ideal batch size for badger
-
Alex Sharov authored
* Bolt: cursor.Put * go mod tidy
-
Alex Sharov authored
-
- Jun 04, 2020
-
-
Andrew Ashikhmin authored
* uint256 in rlp * uint256 rather than big.Int in Transation * linters * more linters * still linters * Reduce garbage in writeUint256 * Experiment with GC in writeByteArray * Misc GC optimisations * unsafe experiment with writeByteArray
-