Skip to content

Instantly share code, notes, and snippets.

@jzhou77
Created March 17, 2021 21:00
Show Gist options
  • Save jzhou77/c1116f82197693aa3fe69a53950cd72b to your computer and use it in GitHub Desktop.
Save jzhou77/c1116f82197693aa3fe69a53950cd72b to your computer and use it in GitHub Desktop.
"Assertion newState.tLogs[0].tLogWriteAntiQuorum == self->configuration.tLogWriteAntiQuorum && newState.tLogs[0].tLogReplicationFactor == self->configuration.tLogReplicationFactor failed @ /root/src/foundationdb/fdbserver/masterserver.actor.cpp 1419:"
Issuing configuration change: memory-radixtree-beta
Issuing configuration change: memory-1
Issuing configuration change: backup_worker_enabled:=1
Issuing configuration change: log_version:=4
Issuing configuration change: double usable_regions=1 regions=[{"datacenters":[{"id":"0","priority":1}]},{"datacenters":[{"id":"1","priority":-1}]}] logs=-1
(gdb) p *(newState.tLogs._M_impl._M_start)
$5 = {tLogs = {<std::_Vector_base<UID, std::allocator<UID> >> = {
_M_impl = {<std::allocator<UID>> = {<__gnu_cxx::new_allocator<UID>> = {<No data fields>}, <No data fields>}, _M_start = 0x7ffff67ffa00,
_M_finish = 0x7ffff67ffa30, _M_end_of_storage = 0x7ffff67ffa40}}, <No data fields>}, tLogWriteAntiQuorum = 0,
tLogReplicationFactor = 1, tLogLocalities = {<std::_Vector_base<LocalityData, std::allocator<LocalityData> >> = {
_M_impl = {<std::allocator<LocalityData>> = {<__gnu_cxx::new_allocator<LocalityData>> = {<No data fields>}, <No data fields>},
_M_start = 0x7ffff65bd320, _M_finish = 0x7ffff65bd3b0, _M_end_of_storage = 0x7ffff65bd3b0}}, <No data fields>}, tLogPolicy = {
r = 0x7ffff401eb90}, isLocal = true, locality = -1 '\377', startVersion = 370618358,
satelliteTagLocations = {<std::_Vector_base<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >> = {
_M_impl = {<std::allocator<std::vector<int, std::allocator<int> > >> = {<__gnu_cxx::new_allocator<std::vector<int, std::allocator<int> > >> = {<N = {ta fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, tLogVersion = {
version = TLogVersion::V5}}
(gdb) p self.ptr->configuration.tLogWriteAntiQuorum
$6 = 0
(gdb) p self.ptr->configuration.tLogReplicationFactor
$7 = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment