Skip to content

Conversation

@sfc-gh-tclinkenbeard
Copy link
Collaborator

@sfc-gh-tclinkenbeard sfc-gh-tclinkenbeard commented Dec 25, 2020

This PR is resolves part of #4178.

Changes in this PR:

  • Add a new SimExternalConnection class
  • Add a connectExternal method to INetworkConnections
  • Use SimExternalConnection to make S3BlobStore deterministic when used in simulation
  • Added test file for S3 backups

Style

  • All variable and function names make sense.
  • The code is properly formatted (consider running git clang-format).

Performance

  • All CPU-hot paths are well optimized.
  • The proper containers are used (for example std::vector vs VectorRef).
  • There are no new known SlowTask traces.

Testing

  • The code was sufficiently tested in simulation.
  • If there are new parameters or knobs, different values are tested in simulation.
  • ASSERT, ASSERT_WE_THINK, and TEST macros are added in appropriate places.
  • Unit tests were added for new algorithms and data structure that make sense to unit-test
  • If this is a bugfix: there is a test that can easily reproduce the bug.

@sfc-gh-tclinkenbeard sfc-gh-tclinkenbeard marked this pull request as ready for review December 25, 2020 03:23
This class is only needed for implementation in Net2.actor.cpp and
SimExternalConnection.actor.cpp, so this class should not be included
everywhere network.h is included
@sfc-gh-tclinkenbeard
Copy link
Collaborator Author

The Windows CMake error is:

LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc141-mt-s-x64-1_72.lib' [C:\Users\fdb\jenkins\foundationdb-ci.foundationdb.org\workspace\jobs\prb-cmake-windows\work\fdbserver\fdbserver.vcxproj]
Build step 'Execute Windows batch command' marked build as failure

I'm not sure how to proceed with debugging this without access to the Jenkins hosts.

@sfc-gh-satherton sfc-gh-satherton merged commit d718e7b into apple:master Jan 26, 2021
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.

2 participants