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

Issue 3266: Ensure bookkeeper.bkAckQuorumSize is 3 for BookieFailover test. #3267

Merged
merged 2 commits into from Jan 16, 2019

Conversation

shrids
Copy link
Contributor

@shrids shrids commented Jan 10, 2019

(This has to be merged once the pravega-operator issue has been fixed).

Change log description
Ensure

  • bookkeeper.bkAckQuorumSize is configured as 3 during system tests.
  • pravega-operator is started in test mode to ensure minimum replica count check is disabled.

Purpose of the change
Fixes #3266

What the code does
The bookieFailover test expects bkAckQuorumSize to be 3.

How to verify it
The BookieFailoverTest should pass once pravega/pravega-operator#116 is resolved.

Update : verified that the bookieFailover test works fine with the modified version of pravega-operator.

Signed-off-by: Sandeep <sandeep.shridhar@emc.com>
@shrids shrids requested review from fpj and adrianmo January 10, 2019 04:05
@codecov
Copy link

codecov bot commented Jan 10, 2019

Codecov Report

Merging #3267 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #3267      +/-   ##
============================================
+ Coverage     78.86%   78.86%   +<.01%     
- Complexity     8012     8032      +20     
============================================
  Files           609      609              
  Lines         31476    31501      +25     
  Branches       3041     3046       +5     
============================================
+ Hits          24822    24844      +22     
- Misses         4858     4867       +9     
+ Partials       1796     1790       -6
Impacted Files Coverage Δ Complexity Δ
.../server/logs/SegmentMetadataUpdateTransaction.java 84.55% <0%> (-6.7%) 86% <0%> (-3%)
...main/java/io/pravega/controller/task/TaskBase.java 77.57% <0%> (-6.55%) 26% <0%> (-3%)
.../client/stream/impl/ControllerResolverFactory.java 82.56% <0%> (-2.76%) 7% <0%> (ø)
...erver/logs/ContainerMetadataUpdateTransaction.java 89.03% <0%> (-2.53%) 79% <0%> (+2%)
...avega/controller/server/ControllerServiceMain.java 80.45% <0%> (-1.15%) 14% <0%> (-1%)
...a/segmentstore/server/logs/OperationProcessor.java 84.75% <0%> (-0.38%) 38% <0%> (-1%)
...o/pravega/client/stream/impl/ReaderGroupState.java 88.26% <0%> (-0.25%) 41% <0%> (ø)
...ver/containers/StreamSegmentContainerMetadata.java 96.77% <0%> (+0.02%) 51% <0%> (+1%) ⬆️
...ver/logs/operations/StreamSegmentMapOperation.java 96.55% <0%> (+0.47%) 11% <0%> (+2%) ⬆️
...mentstore/server/host/handler/AppendProcessor.java 76.14% <0%> (+0.5%) 34% <0%> (+1%) ⬆️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5de1981...d0b8e0e. Read the comment docs.

Signed-off-by: Sandeep <sandeep.shridhar@emc.com>
@shrids shrids changed the title Issue 3266: Ensure bookkeeper.bkAckQuorumSize is 3 for BookieFailover test. (Do not merge). Issue 3266: Ensure bookkeeper.bkAckQuorumSize is 3 for BookieFailover test. Jan 15, 2019
Copy link
Contributor

@adrianmo adrianmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RaulGracia
Copy link
Contributor

These changes enable BookieFailoverTest to pass and also correctly set the operator in test mode.

Copy link
Contributor

@RaulGracia RaulGracia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@fpj fpj merged commit 379dfed into pravega:master Jan 16, 2019
@shrids shrids deleted the issue-3266-fixBookieFailover branch January 16, 2019 10:00
@shrids
Copy link
Contributor Author

shrids commented Jan 16, 2019

adrianmo added a commit to adrianmo/pravega that referenced this pull request Jan 23, 2019
* master: (31 commits)
  Issue 3279: Client is performing blocking operations inside Netty Event Loop (pravega#3280)
  Issue 3200: Document Review: wire-protocol.md (pravega#3201)
  Issue 2933: (SegmentStore) testEndToEndWithFencing fixes (pravega#3294)
  Issue pravega#2768: Rename PravegaCredsWrapper class and its member variable (pravega#3302)
  Issue pravega#3299: Reduce dependencies in client (pravega#3300)
  Issue 2895: Wire Protocol implementation for TableStore (pravega#3283)
  Issue-3239: Make DYNAMIC_LOGGER non-static (pravega#3293)
  Issue 2956: (SegmentStore) TableSegment.deleteIfEmpty (pravega#3263)
  Issue pravega#3289: Use compile-time dependencies where possible (pravega#3290)
  Issue 3223: RetentionTest failure (pravega#3272)
  Issue 2001: Make a defensive copy of streamCut's position map (pravega#3281)
  Issue 3287: Exclude "passwd" extensions from rat. (pravega#3288)
  Issue 3285: Changed image pull policy. (pravega#3286)
  Issue 3266: Ensure bookkeeper.bkAckQuorumSize is 3 for BookieFailover test. (pravega#3267)
  Issue 3264: Return a SegmentHandle from Storage create method. (pravega#3276)
  Issue 3086: Controller Diagrams(new) included (pravega#3097)
  Issue 2570: Update segment metrics when a transaction merge happens (pravega#3239)
  Issue 3149: (SegmentStore) Pinned Segments (pravega#3215)
  Issue 3269: Fix invalid initialization order in AbstractScaleTests. (pravega#3270)
  Issue 3148: (Segment Store) Segment Metadata Store (pravega#3206)
  ...
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.

BookieFailover test failure
4 participants