forked from hyperledger/indy-plenum
-
Notifications
You must be signed in to change notification settings - Fork 0
Master #94
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
Merged
Merged
Master #94
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
[FIX TESTS] Fix consistency proof query test
Trying to fix testAddInactiveNodeThenActivate
Signed-off-by: Lovesh Harchandani <[email protected]>
* fix Signed-off-by: ArtObr <[email protected]> * fix Signed-off-by: ArtObr <[email protected]> * fix Signed-off-by: ArtObr <[email protected]> * fix Signed-off-by: ArtObr <[email protected]>
* Fixed memory leak in monitoring Signed-off-by: Sergey Khoroshavin <[email protected]> * Removed unneeded check in test_warn_unordered_log_msg Signed-off-by: Sergey Khoroshavin <[email protected]> * Fixed flake8 errors Signed-off-by: Sergey Khoroshavin <[email protected]> * Minor fixes in monitor Signed-off-by: Sergey Khoroshavin <[email protected]>
…607) * Added option for log compression during rotation Signed-off-by: Sergey Khoroshavin <[email protected]> * Increased timed log rotation interval, turned compression on by default Signed-off-by: Sergey Khoroshavin <[email protected]>
* Log processor: check that time doesn't go back Signed-off-by: Sergey Khoroshavin <[email protected]> * Log processor: quick'n'dirty graphs for request order time Signed-off-by: Sergey Khoroshavin <[email protected]> * Log processor: improved request statistics Signed-off-by: Sergey Khoroshavin <[email protected]> * Log processor: fixed bugs Signed-off-by: Sergey Khoroshavin <[email protected]> * Log processor: option not to report statistics from request tracker Signed-off-by: Sergey Khoroshavin <[email protected]> * Log processor: more bug fixes Signed-off-by: Sergey Khoroshavin <[email protected]> * Log processor: improved reqId metadata recognition Signed-off-by: Sergey Khoroshavin <[email protected]> * Log processor: improved viewNo and ppSeqNo detection Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
* INDY-1259: fix typo. Signed-off-by: Sergey Shilov <[email protected]> * Add check that we have at least one non-null received CP. Added check in request_CPs_if_needed() function. More research needed to determine appropriate time to unschedule it. Signed-off-by: Sergey Shilov <[email protected]> * Add check that viewno is presented in primaryNames in is_primary_in_view(). Signed-off-by: Sergey Shilov <[email protected]>
* Fixed log rotation config Signed-off-by: Sergey Khoroshavin <[email protected]> * Added test for default log config correctness Signed-off-by: Sergey Khoroshavin <[email protected]> * Revert non-working fix for testAddInactiveNodeThenActivate Signed-off-by: Sergey Khoroshavin <[email protected]> * Temporary workaround for failing tests Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
…nd_on test Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
[Increment sdk] Increment libindy and python wrappers version
* [pool-refresh-fix] Handle CommonIOError Signed-off-by: Andrew Nikitin <[email protected]> * [pool-refresh-fix] Added RUST_LOG debug level Signed-off-by: Andrew Nikitin <[email protected]> * [pool-refresh-fix] Added rust logs into artifacts Signed-off-by: Andrew Nikitin <[email protected]> * [pool-refresh-fix] No capture for pytest Signed-off-by: Andrew Nikitin <[email protected]> * [pool-refresh-fix] insert environment variables into pytest cmd Signed-off-by: Andrew Nikitin <[email protected]> * [pool-refresh-fix] Move pool_refresh after election done Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
* [INDY-1265] Increase log level Signed-off-by: Andrew Nikitin <[email protected]> * [INDY-1264] Remove unused exception handlers in tests Signed-off-by: Andrew Nikitin <[email protected]> * [INDY-1265] flake8 fixes Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
* make test as a separate module due to several tests changing genesis nodes Signed-off-by: dsurnin <[email protected]> * new libindy 454 Signed-off-by: dsurnin <[email protected]> * move test to separate file Signed-off-by: dsurnin <[email protected]> * remove unused imports Signed-off-by: dsurnin <[email protected]> * [Increment sdk 454] Increase test running time Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
[INDY-465] Warning and callback on unordered requests
Log processor: improved request tracking
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
Add pip version and bump indy-crypto
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
Log processor: faster filtering by timestamp
* Get rid of RegistryPoolManager Signed-off-by: ArtObr <[email protected]> * Removal of nodeRegistry param Signed-off-by: ArtObr <[email protected]> * fixes Signed-off-by: ArtObr <[email protected]> * fix Signed-off-by: ArtObr <[email protected]>
* INDY-1173: added ActionResult Signed-off-by: toktar <[email protected]> * INDY-1173: Refactoring POOL_RESTART Changes: -Add NodeController as a superclass for Restarter and Upgrader -Add action handler for new type of transaction that should not be saved at ledger -Change handlers logical Signed-off-by: toktar <[email protected]> * INDY-1173: Bagfix POOL_RESTART Changes: -fixed problem with auth -fixed problem with schedule validation Signed-off-by: toktar <[email protected]> * INDY-1173: refactoring Changes: - made LedgerRequestHandler abstract Signed-off-by: toktar <[email protected]> * INDY-1173: refactoring Changes: - change documentation - change handler logic of store operation types Signed-off-by: toktar <[email protected]> * INDY-1173: refactoring Changes: - remove OPERATION field - revert excess different Signed-off-by: toktar <[email protected]> * INDY-1173: refactoring Changes: - implementing abstract methods for action_req_handler.py - change sending reply logic Signed-off-by: toktar <[email protected]> * INDY-1173: Refactoring code style Signed-off-by: toktar <[email protected]> * INDY-1173: fixed code style in the node Signed-off-by: toktar <[email protected]> * INDY-1173: Added implementation of abstract methods changes: -Added implementation of abstract methods LedgerRequestHandler to ConfigReqHandler Signed-off-by: toktar <[email protected]> * INDY-1173: fixed code style Signed-off-by: toktar <[email protected]> * INDY-1173: fixed problems after merge Signed-off-by: toktar <[email protected]> * INDY-1173: refactoring node changes: - Removing an unnecessary handler call Signed-off-by: toktar <[email protected]> * INDY-1173:refactoring changes: -change operation_types in ledger_req_handler.py -change process_action logic Signed-off-by: toktar <[email protected]> * INDY-1173:refactoring changes: -rollback changes in operation_types Signed-off-by: toktar <[email protected]> * INDY-1173: refactoring changes: - Add ack Signed-off-by: toktar <[email protected]> * INDY-1184: bugfix Changes: - change reject format Signed-off-by: toktar <[email protected]>
Signed-off-by: Sergey Khoroshavin <[email protected]>
Signed-off-by: Andrew Nikitin <[email protected]>
[Fixed failed tests] Decrease reconnect timeout and ensure the same data
Log processor: minor fixes
Signed-off-by: Vyacheslav Gudkov <[email protected]>
Changed math of node request and cluster throughtput spikes detection. The main changes: * Now smothing constant (alpha) is really constant as declares exponential moving average (EMA), alpha = 2 / (N + 1), where N is a minimal count of passed periods needed for comparison of expected value and real value, a.g. learning period. For now N = 15, so alpha = 0.125. * Rised min activity from 2 to 10, a.g. we start to compare expected and real values if we handle more than 10 request per time period, that now is set to 60 secs (10 requests per minute). * Rised borders coefficient to extend the lower and higher borders when observed value is treated as normal relative to expected value, previous border coefficient = 3: - lower border: expected_val / 3 - higher border: expected_val * 3 new borders coefficient = 10: - lower border: expected_val / 10 - higher border: expected_val * 10 Also implemented weighted borders coefficient. It means adaptation of borders coeffitient to larger values using formula: weighted_borders_coef = borders_coef / log(expected_val) Such approach allows to lower borders for larger values. This functionality is optional and enabled by default. Signed-off-by: Sergey Shilov <[email protected]>
Added Copyright to plenum license
INDY-1251: change math of spikes detection.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.