[
https://issues.apache.org/jira/browse/CASSANDRA-17035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428420#comment-17428420
]
Igor Marinho edited comment on CASSANDRA-17035 at 10/13/21, 6:46 PM:
---------------------------------------------------------------------
If I check system.local, right after running nodetool refresh I see that
there's double of the tokens in system.local there if I compare to a node that
was not restored.
So that might be the issue.
Restored node.
{code:java}
cassandra@cqlsh> select * from system.local;
key | bootstrapped | broadcast_address | cluster_name | cql_version |
data_center | gossip_generation | host_id |
listen_address | native_protocol_version | partitioner
| rack | release_version | rpc_address | schema_version
| thrift_version | tokens
local | COMPLETED | 10.3...| Test Cluster | 3.4.4 | host |
1634143245 | c71adcfe-da4a-4ffd-9075-a0c0ed8cad21 | 10.3... |
4 | org.apache.cassandra.dht.Murmur3Partitioner | RAC1 |
3.11.10 | 0.0.0.0 | 47221f7f-9bd9-37f5-aff9-285372ee7fa0 | 20.1.0 |
{'-1021394005679452461', '-116301349977861046', '-1203501519365502105',
'-1208413920852887438', '-1240751781389454727', '-1260412322215710658',
'-1280704229750966021', '-1325697168327656348', '-1334402168064352275',
'-1354846238495650154', '-145475374322219502', '-146511291837265934',
'-146986887598593578', '-1479239976274584513', '-1487072689532536365',
'-1497009017160372976', '-1507754632854197529', '-1563326974907065915',
'-1613841171066844101', '-1626825473956036030', '-1644462005777453103',
'-1648035853611899444', '-1669288510978012099', '-1673291358115114310',
'-171883518747067194', '-1723863694942237802', '-1752554923178713249',
'-1781360084802950075', '-1808137525885885333', '-1823805500470334268',
'-1826568182292705682', '-1881405047189430236', '-1924963229922075654',
'-1973687112001756823', '-2061644249712621003', '-2103215668245054389',
'-2186775174047384968', '-2261746752176665649', '-2275622620153487382',
'-2306852353545212292', '-2329680004093421260', '-2379886743287453998',
'-2382984571313137639', '-2387043897442450243', '-2423663358907308008',
'-2423950268597164883', '-2476637378410440090', '-2511975642682719971',
'-2531034491639831011', '-2549902212915920889', '-2550078540930654087',
'-2587427338286755585', '-2628679213666263035', '-2688477754522977996',
'-2692230791886294589', '-2741442430280852619', '-2829557734855296072',
'-2844582037376483603', '-2845213655231971561', '-2849952191151039024',
'-2850721843494280039', '-2874300271514216429', '-2909736656143372790',
'-2938102019559827383', '-295433402350739389', '-2954744758804968703',
'-2975640126853683914', '-3022278519305983437', '-306444003028887010',
'-3088327142560900922', '-3101611433127953962', '-3117328597598811642',
'-3131771639852906126', '-3184762723624534765', '-3211123934860055222',
'-3275282712386823667', '-327859460317128173', '-3280861492062461918',
'-3292627522356286974', '-3329530734112080999', '-3341512071177780524',
'-3360215235853799432', '-3362809701087184729', '-3431124252203739671',
'-3432376460806882187', '-3533738709737801508', '-3557137303149960757',
'-3561375572763321106', '-3607634439492696846', '-3727996953730819569',
'-3741641353952303029', '-3754431892152953784', '-3810534252137765339',
'-3845559653175654026', '-3921662872706735069', '-3945522311425185129',
'-3959326405440087526', '-3982913372229308455', '-4033123509656229318',
'-4056894722661251326', '-4059554842621765281', '-4070627395329080474',
'-4106476253034676416', '-4201821365868828288', '-4223883475507906585',
'-4225028339767719402', '-4286596286182829955', '-4372082325745310219',
'-4376744870130476471', '-4426141004974672187', '-4432370359799997592',
'-4450258231306912382', '-4478810433687273860', '-4484838772580062469',
'-451693707053239734', '-4526718697447241143', '-455457144104943995',
'-4586640003036731697', '-4690909964455979541', '-4708323223360694475',
'-4808363746569486770', '-483576491880981440', '-484916362066107361',
'-4903034841137436408', '-4973244600755271209', '-5011867417617467884',
'-5068075856879764356', '-5186154146231194796', '-5198822099030782681',
'-5206136260947175009', '-5219210914680530374', '-5235509047688493416',
'-5264254858846919539', '-53166251057589790', '-5373454877497455134',
'-5492454721446074158', '-5501924457540508052', '-5502130642209022868',
'-5536642808156127441', '-5592250866944585536', '-5609551317179694873',
'-5667680681023087864', '-5685137719487130792', '-5691830136187870799',
'-5732248234429679498', '-5768707478970718871', '-5802173364943821505',
'-5818260679729824797', '-5843530573449713821', '-5848483163962964587',
'-5861694505974745652', '-5897480853924739187', '-6015673644682890306',
'-6070359467944652843', '-6085548845360424150', '-611066062215612441',
'-6132392712371723916', '-6150098237305648986', '-6170956183746012497',
'-6184806381807449324', '-6203972407254183501', '-6227061447888316268',
'-6232683772633955968', '-6236034936669455839', '-6273284531337060083',
'-6341045372562995545', '-6387656773317079792', '-6391442976456413766',
'-6414318040096371665', '-6555251308736392655', '-6555337121473652291',
'-6652697911088402323', '-6700647011776832010', '-6704206071223088064',
'-6729377556744462909', '-6766384089974613518', '-6774076868228902728',
'-6843770333591640014', '-6860119106187505836', '-690272350854503700',
'-6907382809247310882', '-6915991902070654010', '-6995114604485673389',
'-7007199157976385398', '-7011301944259174552', '-7064536132439965409',
'-7074787229850034968', '-715607060635578824', '-7161837358634237225',
'-72302575134780997', '-7243379266024057186', '-7272447454963096793',
'-7276029438318341368', '-7317362377757572466', '-7320063992005471211',
'-7401143989366441809', '-7403873941406542812', '-7411435588092808442',
'-7434179795209256737', '-7463218700169243867', '-7474101949578742243',
'-751486841881395922', '-7558189255845284211', '-7558805497999484924',
'-7624757696146854106', '-7630815351548594303', '-7650557490398162032',
'-7665361597020856966', '-7697833272779985010', '-7713991830492359957',
'-7732160509290285260', '-7756576911910030708', '-7778334772410144839',
'-7790134097819287157', '-7815639767837208033', '-7838198210347060159',
'-7872090261443910958', '-7876873416679322380', '-7909229391254625209',
'-7940658063551028357', '-7993653704906292899', '-8003168289238439661',
'-8009258182472891580', '-8013061913008492470', '-8089328705404711312',
'-8123142567092244815', '-8137151963098817389', '-8155370333701945673',
'-8165868074550160613', '-822561206648557835', '-8275015299042722768',
'-8275455688581343039', '-8285724998070111780', '-8286438376748208176',
'-8320006115474412490', '-834294746828943518', '-8430366322076043686',
'-8566187581264763875', '-8628678538331293562', '-8641880672532883169',
'-8672416503254582505', '-8725245687387886613', '-8731601150949814689',
'-8750386891321254952', '-8772169414880737112', '-8805933598054859707',
'-8811967835011633220', '-8856825500868726587', '-8901718425780550479',
'-8955868384748779561', '-8960023000036021290', '-8973695694621211212',
'-8976350344482795132', '-8989893534465575991', '-9016738765808715824',
'-9026377895357477490', '-9037462154944409669', '-9056372089100194563',
'-9098112641399156562', '-9157036164839478885', '-9164343052643542592',
'-937092630192280594', '-956605640603457101', '101818853725467497',
'1044454386548732230', '1064090226600399177', '116235325464133700',
'1178867078922567722', '1198140084822297087', '1217174573572937018',
'1274282858930956872', '1337122500697948634', '1368182854421569877',
'1397670338030003373', '1455432560423188618', '1462034544802576907',
'1471150496801713995', '1518505463675801411', '1572678203774754008',
'1583757189201169164', '1598873291929177119', '1666495935561123316',
'1688244057837638997', '1726471742550978622', '1844356316335995667',
'1863992534957198406', '187142937304752354', '1874044924981159467',
'1880216490543819805', '1888989366973176323', '1924629149086560694',
'1996888326265932520', '2041674400785288399', '2131481788139083708',
'2136722365949857350', '2159361204394796368', '2167410473314553403',
'2176020028580541661', '2217987656842167245', '2242151295935500616',
'2289262973688478753', '2336173569451962634', '2370139404742923692',
'2403237686279040309', '2413135735504638927', '242093315033715999',
'2428566382584824310', '2497044816636896740', '266900047051227901',
'2672481959937688698', '2675749510951539783', '2732568259917354671',
'2744580984289076356', '2744721601632795539', '2779067017859339834',
'2801630486437373971', '2846822125621040370', '2884187329670797871',
'2910082439940115888', '2937492608495409162', '3059313641884435624',
'3059848817209495579', '3106385177370513973', '3127897860515945921',
'3150126757366721511', '3164712930927494744', '3166139970811415480',
'3228931052446510711', '334101409258018840', '3344472519792782991',
'3370711571903270430', '3375472544215786702', '3384360087813836204',
'3496696948312330890', '3497764314184845208', '350339799926370275',
'3545033771019696829', '3551877346989851798', '3557924415730177179',
'3561239561100506938', '3566398721313226487', '3573486517455001776',
'3604031230052727506', '3611135783595956410', '365112630640028196',
'3697581226278068093', '3701420064929960478', '3737467514768833243',
'3799053425243224763', '3850314143982551429', '3900897718201358267',
'3953913250081289', '3965345518755047932', '3973928367720838188',
'3994593227953459562', '3998050501722609025', '4038278919284035760',
'4110765095274393047', '4115456808403488869', '4123950475909192147',
'4279065492452273525', '4280848297808745045', '4339173518039989362',
'4347857742771162951', '4365129385924922202', '4419354787871689214',
'4435560671633040739', '4500822350061344499', '4520498991028966856',
'4540616389369014861', '4550697937955276167', '4581094006409545656',
'4639093834029780348', '4669392094659440082', '4708428691492826613',
'4711027233806549390', '4734313756251183507', '4749336842207352950',
'4789112193986037953', '4823312685617298912', '4936706162354761568',
'4959751721287416051', '498616913869237471', '5030704343805363607',
'5054972857102180273', '5056060915556193069', '5087019893217300528',
'5096748107223927014', '5117811445397017869', '5130865270818445484',
'5137921216929998731', '5167938170829093022', '5210960844338300068',
'5285401098657581791', '529239243080506737', '5306736599463756795',
'5321500753906352956', '537096124884561161', '5416005596052920002',
'5466358082675330621', '5516694252746445009', '555633624379974927',
'5614598871302645773', '5616028517117031773', '564273491911793380',
'5678481162577003658', '5686428668805717581', '5692211914479324830',
'5705455351285828184', '5712488551606896294', '5818560148965090488',
'581856239972817167', '5820929474528699132', '5852994217935979844',
'5905161902475317660', '5915321418493026975', '5933983251426835519',
'5936629488176539449', '5979884689831614136', '6016027124925241845',
'6024940253940337187', '6054647789547091535', '6056446570702261917',
'6124434204509268261', '6134591559200465395', '6142922480813943979',
'6157478717613830385', '6205443590108821413', '6312224690220576516',
'6326501750408281236', '64112675743796105', '6455370746550650903',
'6538180804160434374', '6542883037578289877', '65623529535816012',
'6611668941712925999', '6667546958579135890', '6670077556307504386',
'6741528346059095918', '6749846238668066297', '6776878943912547768',
'6787635926849810492', '6858709699318857785', '6890001269870649410',
'6926926923387367406', '7030731971112171462', '7050652549514108396',
'7065827799675325907', '70692998833006605', '711975990367312433',
'7157887573067686878', '7379214157911096332', '7443743880211732538',
'7454917039440989605', '7476350598591515084', '7514721042517559616',
'7580840550113960835', '759613475565725839', '7611897473300414659',
'7624572437218707812', '7674270268710013586', '769498814348519175',
'7725253347122221472', '7750181088114857771', '7754439208977984504',
'7762484599615246721', '7825684645798095811', '7833987440480120958',
'7842242310258027199', '7858991914373687923', '7887676729397874975',
'7957694399821723681', '8004470050819839444', '8054001822540993466',
'8090231770608443043', '8133155301138106541', '8159474332258177723',
'8184962343291290801', '8192362744984792256', '8209585685374718615',
'8222658236367652715', '8284227454222060747', '8289085896008831358',
'8379515363889703698', '857068303261590343', '8606223346669102497',
'8609335707728575268', '8622250282586659959', '8627045438107991399',
'8644381970557470690', '8672105436043069964', '8686070204932338863',
'8692401515420712477', '8698338982539478043', '8731412208802190448',
'8750031352947366551', '8768277563466153629', '8790033271848089197',
'8906613236909328745', '8924305890156134868', '8957697304007250712',
'9051504771494910906', '9092215257571982559', '9093861224056076638',
'9142424467275008077', '9156831856248676510', '9165376559343521405',
'9180570044001767475', '9198669063762894634', '93664909717798649',
'943925693868424150', '971048617290506541'} | null
(1 rows)
cassandra@cqlsh>
{code}
regular node.
{code:java}
key | bootstrapped | broadcast_address | cluster_name | cql_version |
data_center | gossip_generation | host_id |
listen_address | native_protocol_version | partitioner
| rack | release_version | rpc_address | schema_version
| thrift_version | tokens
local | COMPLETED | 10.3... | Test Cluster | 3.4.4 | host |
1634083193 | cb90fc80-e14e-4669-8dd4-01e3fc9ebec7 | 10.3... |
4 | org.apache.cassandra.dht.Murmur3Partitioner | RAC1 |
3.11.10 | 0.0.0.0 | 47221f7f-9bd9-37f5-aff9-285372ee7fa0 | 20.1.0 |
{'-1037503991556159243', '-1052853979980723261', '-1091692069169691175',
'-1138236466618896159', '-1166366978416578032', '-1274103573868414838',
'-12988441163306571', '-1342315618689256722', '-1347789872231729707',
'-1609392346854994733', '-1614018424355581957', '-1614594828078174622',
'-1617279321170537017', '-1771002364132087344', '-1820620731677552721',
'-1870505436239266510', '-1883904588511260404', '-2027743738271993997',
'-2047430487730837730', '-2220993103486250888', '-2356594822406189925',
'-2403475129894961356', '-242349382963349797', '-2437018212016144337',
'-255311522274493742', '-2570983405825689509', '-2573326582678957488',
'-2683405056055670969', '-2757703351353764558', '-2940250261558294804',
'-3011090562424070056', '-303150863725028471', '-3063150950283918589',
'-3085099245642854617', '-3123132632245867858', '-3234831263374295665',
'-331415287181885585', '-3355850316479184440', '-3360967801860109536',
'-3361912085308288158', '-3373899816330486203', '-356719156054519732',
'-3589447352963111433', '-3669585605938724101', '-3725315822021528749',
'-373074624451829323', '-3739911863581820369', '-3867532595366459774',
'-3868830238000714990', '-3872349613771533586', '-3928294106182184614',
'-3963415578198724355', '-4108792510580707729', '-415484897607720223',
'-4229349891026973297', '-4264869532318860390', '-436773794419278810',
'-4372649870003436203', '-4378145121597772889', '-4488066892849529568',
'-4506074292154301036', '-4631848523497792911', '-490000967935988488',
'-4900919044417825397', '-5019754877808994823', '-5096129778492987267',
'-5110400850222649028', '-5131143054895988793', '-5214335849842892498',
'-5300781362782902511', '-533871982722835245', '-5357841058564323439',
'-5406768578332922945', '-5424017313877447906', '-5502904112327919888',
'-5539147357084421009', '-5727809952769771137', '-5770706276541382182',
'-5791568961420558004', '-5815480485176901782', '-5826978305462610583',
'-5846061627757854600', '-5872064119283972175', '-6033009481044134189',
'-60809586666437895', '-6189878246359208772', '-6291250108859259643',
'-6332673393886008100', '-6788883636747832472', '-6870209742751562552',
'-687322601129489332', '-6918492213151907158', '-6926119360631494323',
'-7042075201231153320', '-7075694867194502232', '-711773716869653427',
'-7177674774428859983', '-7205961794069129374', '-7524985396500043574',
'-7564609942849135146', '-7789058198938430500', '-7799741006389989320',
'-7834784961187923664', '-7937875491817174385', '-801535242210951891',
'-8035561447006336061', '-819874977924457429', '-8203497070016141062',
'-8247861208057158029', '-8248421532406048197', '-8348538957846869707',
'-8474226168482202568', '-8588565859117178593', '-8762759840424290624',
'-8813822106365630603', '-8836370082322239273', '-8846889001032796507',
'-8862649355879105432', '-8909792674772348730', '-8917975574124494647',
'-906192539690963295', '-9082096058147475264', '-9098631626463897915',
'-946029386668941917', '-977871835671305713', '100473934666633782',
'1007931674108470832', '1240000911314089791', '1334796516849434277',
'1394044074274002112', '1423645651485192730', '1451512898475916726',
'1478246884850410241', '1668683209993367723', '1719273761694395884',
'1721908367901118461', '1726037120492950505', '1738402735482018055',
'1808213912676587175', '1924817990609666842', '1958549114610928475',
'2038317129831676726', '2049853230049685275', '2084559046620243246',
'2093511705519249662', '2163165593857811096', '2188523759395079659',
'2388718404573194215', '2396923163191671681', '2398591586186160926',
'2484093616500557832', '2486784365093035939', '2546198415612065130',
'2550799796257632461', '2652899927162196451', '2712626676510027988',
'2878990411103785559', '3027779766966921140', '312096583868911875',
'3232077726402776975', '3361846523428374020', '3461984128928289785',
'3493323830278103556', '3546560691280051799', '3598884127607542868',
'3753673681921405342', '3777379712179997541', '3813071949229670318',
'3892779051788071299', '3947747006808155019', '4066480316146693808',
'412248530744676502', '4199221143687903771', '4207792088337486088',
'4597960191382621518', '4612713077300785176', '4657867806450380283',
'4735370280257035193', '4785691704942750780', '4809552503312022895',
'4842275106902520767', '4878051865841616450', '4887264057652918170',
'4908123109797616793', '4987535764488086652', '508457952789436420',
'5088881017366673980', '5163486608702457143', '519633796096830968',
'522799328689389087', '5352579355131040598', '5503842169454985963',
'5565328463158713532', '5609439067773452558', '5657665302238984411',
'5701532537576095920', '5839062207138699510', '5931798814777745989',
'5980670293980456377', '615430779171114052', '6254458411099816383',
'6256805962725932801', '6323776049499528008', '6332645209971556633',
'6395366779517242130', '6455845799535995422', '6456557110054399857',
'6477185895547812007', '648103729219041265', '6505151582953522624',
'6550564212025413269', '6665927663268523568', '6677173284206912573',
'6679463202580424400', '6741489589036366372', '6782618000237698857',
'6843983964089896958', '6891706416432426122', '6895069933853721336',
'6913092539668898679', '6936038647448621390', '697962390197454962',
'6988882964393828334', '6989619349955916481', '7018627502833875623',
'7032013094831436868', '7074328677375982430', '7094519827982917268',
'7156480996694562594', '7163667849334089983', '7303921954360529623',
'7342137260923509536', '735996798077577374', '7367195111471326029',
'747876574106238309', '7557083875301250439', '759307544644221286',
'7748101416075244958', '7827793219727638111', '7830745873140040681',
'7874766026934872530', '7940766697523213943', '8028070985360449514',
'8089927719722500638', '8295751642046569692', '8367961079335506573',
'8451634274289740811', '8481066146577177719', '8562641334286951221',
'8570662002403808357', '8716623942636038348', '8782947888528908374',
'88615312645095082', '894513314421523431', '929728945702827539',
'97235183821118976'} | null
{code}
was (Author: igor.marinho):
If I check system.local, right after running nodetool refresh I see that
there's double of the tokens in system.local there if I compare to a node that
was not restored.
So that might be the issue.
{code:java}
cassandra@cqlsh> select * from system.local;
key | bootstrapped | broadcast_address | cluster_name | cql_version |
data_center | gossip_generation | host_id |
listen_address | native_protocol_version | partitioner
| rack | release_version | rpc_address | schema_version
| thrift_version | tokens
local | COMPLETED | 10.3...| Test Cluster | 3.4.4 | host |
1634143245 | c71adcfe-da4a-4ffd-9075-a0c0ed8cad21 | 10.3... |
4 | org.apache.cassandra.dht.Murmur3Partitioner | RAC1 |
3.11.10 | 0.0.0.0 | 47221f7f-9bd9-37f5-aff9-285372ee7fa0 | 20.1.0 |
{'-1021394005679452461', '-116301349977861046', '-1203501519365502105',
'-1208413920852887438', '-1240751781389454727', '-1260412322215710658',
'-1280704229750966021', '-1325697168327656348', '-1334402168064352275',
'-1354846238495650154', '-145475374322219502', '-146511291837265934',
'-146986887598593578', '-1479239976274584513', '-1487072689532536365',
'-1497009017160372976', '-1507754632854197529', '-1563326974907065915',
'-1613841171066844101', '-1626825473956036030', '-1644462005777453103',
'-1648035853611899444', '-1669288510978012099', '-1673291358115114310',
'-171883518747067194', '-1723863694942237802', '-1752554923178713249',
'-1781360084802950075', '-1808137525885885333', '-1823805500470334268',
'-1826568182292705682', '-1881405047189430236', '-1924963229922075654',
'-1973687112001756823', '-2061644249712621003', '-2103215668245054389',
'-2186775174047384968', '-2261746752176665649', '-2275622620153487382',
'-2306852353545212292', '-2329680004093421260', '-2379886743287453998',
'-2382984571313137639', '-2387043897442450243', '-2423663358907308008',
'-2423950268597164883', '-2476637378410440090', '-2511975642682719971',
'-2531034491639831011', '-2549902212915920889', '-2550078540930654087',
'-2587427338286755585', '-2628679213666263035', '-2688477754522977996',
'-2692230791886294589', '-2741442430280852619', '-2829557734855296072',
'-2844582037376483603', '-2845213655231971561', '-2849952191151039024',
'-2850721843494280039', '-2874300271514216429', '-2909736656143372790',
'-2938102019559827383', '-295433402350739389', '-2954744758804968703',
'-2975640126853683914', '-3022278519305983437', '-306444003028887010',
'-3088327142560900922', '-3101611433127953962', '-3117328597598811642',
'-3131771639852906126', '-3184762723624534765', '-3211123934860055222',
'-3275282712386823667', '-327859460317128173', '-3280861492062461918',
'-3292627522356286974', '-3329530734112080999', '-3341512071177780524',
'-3360215235853799432', '-3362809701087184729', '-3431124252203739671',
'-3432376460806882187', '-3533738709737801508', '-3557137303149960757',
'-3561375572763321106', '-3607634439492696846', '-3727996953730819569',
'-3741641353952303029', '-3754431892152953784', '-3810534252137765339',
'-3845559653175654026', '-3921662872706735069', '-3945522311425185129',
'-3959326405440087526', '-3982913372229308455', '-4033123509656229318',
'-4056894722661251326', '-4059554842621765281', '-4070627395329080474',
'-4106476253034676416', '-4201821365868828288', '-4223883475507906585',
'-4225028339767719402', '-4286596286182829955', '-4372082325745310219',
'-4376744870130476471', '-4426141004974672187', '-4432370359799997592',
'-4450258231306912382', '-4478810433687273860', '-4484838772580062469',
'-451693707053239734', '-4526718697447241143', '-455457144104943995',
'-4586640003036731697', '-4690909964455979541', '-4708323223360694475',
'-4808363746569486770', '-483576491880981440', '-484916362066107361',
'-4903034841137436408', '-4973244600755271209', '-5011867417617467884',
'-5068075856879764356', '-5186154146231194796', '-5198822099030782681',
'-5206136260947175009', '-5219210914680530374', '-5235509047688493416',
'-5264254858846919539', '-53166251057589790', '-5373454877497455134',
'-5492454721446074158', '-5501924457540508052', '-5502130642209022868',
'-5536642808156127441', '-5592250866944585536', '-5609551317179694873',
'-5667680681023087864', '-5685137719487130792', '-5691830136187870799',
'-5732248234429679498', '-5768707478970718871', '-5802173364943821505',
'-5818260679729824797', '-5843530573449713821', '-5848483163962964587',
'-5861694505974745652', '-5897480853924739187', '-6015673644682890306',
'-6070359467944652843', '-6085548845360424150', '-611066062215612441',
'-6132392712371723916', '-6150098237305648986', '-6170956183746012497',
'-6184806381807449324', '-6203972407254183501', '-6227061447888316268',
'-6232683772633955968', '-6236034936669455839', '-6273284531337060083',
'-6341045372562995545', '-6387656773317079792', '-6391442976456413766',
'-6414318040096371665', '-6555251308736392655', '-6555337121473652291',
'-6652697911088402323', '-6700647011776832010', '-6704206071223088064',
'-6729377556744462909', '-6766384089974613518', '-6774076868228902728',
'-6843770333591640014', '-6860119106187505836', '-690272350854503700',
'-6907382809247310882', '-6915991902070654010', '-6995114604485673389',
'-7007199157976385398', '-7011301944259174552', '-7064536132439965409',
'-7074787229850034968', '-715607060635578824', '-7161837358634237225',
'-72302575134780997', '-7243379266024057186', '-7272447454963096793',
'-7276029438318341368', '-7317362377757572466', '-7320063992005471211',
'-7401143989366441809', '-7403873941406542812', '-7411435588092808442',
'-7434179795209256737', '-7463218700169243867', '-7474101949578742243',
'-751486841881395922', '-7558189255845284211', '-7558805497999484924',
'-7624757696146854106', '-7630815351548594303', '-7650557490398162032',
'-7665361597020856966', '-7697833272779985010', '-7713991830492359957',
'-7732160509290285260', '-7756576911910030708', '-7778334772410144839',
'-7790134097819287157', '-7815639767837208033', '-7838198210347060159',
'-7872090261443910958', '-7876873416679322380', '-7909229391254625209',
'-7940658063551028357', '-7993653704906292899', '-8003168289238439661',
'-8009258182472891580', '-8013061913008492470', '-8089328705404711312',
'-8123142567092244815', '-8137151963098817389', '-8155370333701945673',
'-8165868074550160613', '-822561206648557835', '-8275015299042722768',
'-8275455688581343039', '-8285724998070111780', '-8286438376748208176',
'-8320006115474412490', '-834294746828943518', '-8430366322076043686',
'-8566187581264763875', '-8628678538331293562', '-8641880672532883169',
'-8672416503254582505', '-8725245687387886613', '-8731601150949814689',
'-8750386891321254952', '-8772169414880737112', '-8805933598054859707',
'-8811967835011633220', '-8856825500868726587', '-8901718425780550479',
'-8955868384748779561', '-8960023000036021290', '-8973695694621211212',
'-8976350344482795132', '-8989893534465575991', '-9016738765808715824',
'-9026377895357477490', '-9037462154944409669', '-9056372089100194563',
'-9098112641399156562', '-9157036164839478885', '-9164343052643542592',
'-937092630192280594', '-956605640603457101', '101818853725467497',
'1044454386548732230', '1064090226600399177', '116235325464133700',
'1178867078922567722', '1198140084822297087', '1217174573572937018',
'1274282858930956872', '1337122500697948634', '1368182854421569877',
'1397670338030003373', '1455432560423188618', '1462034544802576907',
'1471150496801713995', '1518505463675801411', '1572678203774754008',
'1583757189201169164', '1598873291929177119', '1666495935561123316',
'1688244057837638997', '1726471742550978622', '1844356316335995667',
'1863992534957198406', '187142937304752354', '1874044924981159467',
'1880216490543819805', '1888989366973176323', '1924629149086560694',
'1996888326265932520', '2041674400785288399', '2131481788139083708',
'2136722365949857350', '2159361204394796368', '2167410473314553403',
'2176020028580541661', '2217987656842167245', '2242151295935500616',
'2289262973688478753', '2336173569451962634', '2370139404742923692',
'2403237686279040309', '2413135735504638927', '242093315033715999',
'2428566382584824310', '2497044816636896740', '266900047051227901',
'2672481959937688698', '2675749510951539783', '2732568259917354671',
'2744580984289076356', '2744721601632795539', '2779067017859339834',
'2801630486437373971', '2846822125621040370', '2884187329670797871',
'2910082439940115888', '2937492608495409162', '3059313641884435624',
'3059848817209495579', '3106385177370513973', '3127897860515945921',
'3150126757366721511', '3164712930927494744', '3166139970811415480',
'3228931052446510711', '334101409258018840', '3344472519792782991',
'3370711571903270430', '3375472544215786702', '3384360087813836204',
'3496696948312330890', '3497764314184845208', '350339799926370275',
'3545033771019696829', '3551877346989851798', '3557924415730177179',
'3561239561100506938', '3566398721313226487', '3573486517455001776',
'3604031230052727506', '3611135783595956410', '365112630640028196',
'3697581226278068093', '3701420064929960478', '3737467514768833243',
'3799053425243224763', '3850314143982551429', '3900897718201358267',
'3953913250081289', '3965345518755047932', '3973928367720838188',
'3994593227953459562', '3998050501722609025', '4038278919284035760',
'4110765095274393047', '4115456808403488869', '4123950475909192147',
'4279065492452273525', '4280848297808745045', '4339173518039989362',
'4347857742771162951', '4365129385924922202', '4419354787871689214',
'4435560671633040739', '4500822350061344499', '4520498991028966856',
'4540616389369014861', '4550697937955276167', '4581094006409545656',
'4639093834029780348', '4669392094659440082', '4708428691492826613',
'4711027233806549390', '4734313756251183507', '4749336842207352950',
'4789112193986037953', '4823312685617298912', '4936706162354761568',
'4959751721287416051', '498616913869237471', '5030704343805363607',
'5054972857102180273', '5056060915556193069', '5087019893217300528',
'5096748107223927014', '5117811445397017869', '5130865270818445484',
'5137921216929998731', '5167938170829093022', '5210960844338300068',
'5285401098657581791', '529239243080506737', '5306736599463756795',
'5321500753906352956', '537096124884561161', '5416005596052920002',
'5466358082675330621', '5516694252746445009', '555633624379974927',
'5614598871302645773', '5616028517117031773', '564273491911793380',
'5678481162577003658', '5686428668805717581', '5692211914479324830',
'5705455351285828184', '5712488551606896294', '5818560148965090488',
'581856239972817167', '5820929474528699132', '5852994217935979844',
'5905161902475317660', '5915321418493026975', '5933983251426835519',
'5936629488176539449', '5979884689831614136', '6016027124925241845',
'6024940253940337187', '6054647789547091535', '6056446570702261917',
'6124434204509268261', '6134591559200465395', '6142922480813943979',
'6157478717613830385', '6205443590108821413', '6312224690220576516',
'6326501750408281236', '64112675743796105', '6455370746550650903',
'6538180804160434374', '6542883037578289877', '65623529535816012',
'6611668941712925999', '6667546958579135890', '6670077556307504386',
'6741528346059095918', '6749846238668066297', '6776878943912547768',
'6787635926849810492', '6858709699318857785', '6890001269870649410',
'6926926923387367406', '7030731971112171462', '7050652549514108396',
'7065827799675325907', '70692998833006605', '711975990367312433',
'7157887573067686878', '7379214157911096332', '7443743880211732538',
'7454917039440989605', '7476350598591515084', '7514721042517559616',
'7580840550113960835', '759613475565725839', '7611897473300414659',
'7624572437218707812', '7674270268710013586', '769498814348519175',
'7725253347122221472', '7750181088114857771', '7754439208977984504',
'7762484599615246721', '7825684645798095811', '7833987440480120958',
'7842242310258027199', '7858991914373687923', '7887676729397874975',
'7957694399821723681', '8004470050819839444', '8054001822540993466',
'8090231770608443043', '8133155301138106541', '8159474332258177723',
'8184962343291290801', '8192362744984792256', '8209585685374718615',
'8222658236367652715', '8284227454222060747', '8289085896008831358',
'8379515363889703698', '857068303261590343', '8606223346669102497',
'8609335707728575268', '8622250282586659959', '8627045438107991399',
'8644381970557470690', '8672105436043069964', '8686070204932338863',
'8692401515420712477', '8698338982539478043', '8731412208802190448',
'8750031352947366551', '8768277563466153629', '8790033271848089197',
'8906613236909328745', '8924305890156134868', '8957697304007250712',
'9051504771494910906', '9092215257571982559', '9093861224056076638',
'9142424467275008077', '9156831856248676510', '9165376559343521405',
'9180570044001767475', '9198669063762894634', '93664909717798649',
'943925693868424150', '971048617290506541'} | null
(1 rows)
cassandra@cqlsh>
{code}
{code:java}
key | bootstrapped | broadcast_address | cluster_name | cql_version |
data_center | gossip_generation | host_id |
listen_address | native_protocol_version | partitioner
| rack | release_version | rpc_address | schema_version
| thrift_version | tokens
local | COMPLETED | 10.3... | Test Cluster | 3.4.4 | host |
1634083193 | cb90fc80-e14e-4669-8dd4-01e3fc9ebec7 | 10.3... |
4 | org.apache.cassandra.dht.Murmur3Partitioner | RAC1 |
3.11.10 | 0.0.0.0 | 47221f7f-9bd9-37f5-aff9-285372ee7fa0 | 20.1.0 |
{'-1037503991556159243', '-1052853979980723261', '-1091692069169691175',
'-1138236466618896159', '-1166366978416578032', '-1274103573868414838',
'-12988441163306571', '-1342315618689256722', '-1347789872231729707',
'-1609392346854994733', '-1614018424355581957', '-1614594828078174622',
'-1617279321170537017', '-1771002364132087344', '-1820620731677552721',
'-1870505436239266510', '-1883904588511260404', '-2027743738271993997',
'-2047430487730837730', '-2220993103486250888', '-2356594822406189925',
'-2403475129894961356', '-242349382963349797', '-2437018212016144337',
'-255311522274493742', '-2570983405825689509', '-2573326582678957488',
'-2683405056055670969', '-2757703351353764558', '-2940250261558294804',
'-3011090562424070056', '-303150863725028471', '-3063150950283918589',
'-3085099245642854617', '-3123132632245867858', '-3234831263374295665',
'-331415287181885585', '-3355850316479184440', '-3360967801860109536',
'-3361912085308288158', '-3373899816330486203', '-356719156054519732',
'-3589447352963111433', '-3669585605938724101', '-3725315822021528749',
'-373074624451829323', '-3739911863581820369', '-3867532595366459774',
'-3868830238000714990', '-3872349613771533586', '-3928294106182184614',
'-3963415578198724355', '-4108792510580707729', '-415484897607720223',
'-4229349891026973297', '-4264869532318860390', '-436773794419278810',
'-4372649870003436203', '-4378145121597772889', '-4488066892849529568',
'-4506074292154301036', '-4631848523497792911', '-490000967935988488',
'-4900919044417825397', '-5019754877808994823', '-5096129778492987267',
'-5110400850222649028', '-5131143054895988793', '-5214335849842892498',
'-5300781362782902511', '-533871982722835245', '-5357841058564323439',
'-5406768578332922945', '-5424017313877447906', '-5502904112327919888',
'-5539147357084421009', '-5727809952769771137', '-5770706276541382182',
'-5791568961420558004', '-5815480485176901782', '-5826978305462610583',
'-5846061627757854600', '-5872064119283972175', '-6033009481044134189',
'-60809586666437895', '-6189878246359208772', '-6291250108859259643',
'-6332673393886008100', '-6788883636747832472', '-6870209742751562552',
'-687322601129489332', '-6918492213151907158', '-6926119360631494323',
'-7042075201231153320', '-7075694867194502232', '-711773716869653427',
'-7177674774428859983', '-7205961794069129374', '-7524985396500043574',
'-7564609942849135146', '-7789058198938430500', '-7799741006389989320',
'-7834784961187923664', '-7937875491817174385', '-801535242210951891',
'-8035561447006336061', '-819874977924457429', '-8203497070016141062',
'-8247861208057158029', '-8248421532406048197', '-8348538957846869707',
'-8474226168482202568', '-8588565859117178593', '-8762759840424290624',
'-8813822106365630603', '-8836370082322239273', '-8846889001032796507',
'-8862649355879105432', '-8909792674772348730', '-8917975574124494647',
'-906192539690963295', '-9082096058147475264', '-9098631626463897915',
'-946029386668941917', '-977871835671305713', '100473934666633782',
'1007931674108470832', '1240000911314089791', '1334796516849434277',
'1394044074274002112', '1423645651485192730', '1451512898475916726',
'1478246884850410241', '1668683209993367723', '1719273761694395884',
'1721908367901118461', '1726037120492950505', '1738402735482018055',
'1808213912676587175', '1924817990609666842', '1958549114610928475',
'2038317129831676726', '2049853230049685275', '2084559046620243246',
'2093511705519249662', '2163165593857811096', '2188523759395079659',
'2388718404573194215', '2396923163191671681', '2398591586186160926',
'2484093616500557832', '2486784365093035939', '2546198415612065130',
'2550799796257632461', '2652899927162196451', '2712626676510027988',
'2878990411103785559', '3027779766966921140', '312096583868911875',
'3232077726402776975', '3361846523428374020', '3461984128928289785',
'3493323830278103556', '3546560691280051799', '3598884127607542868',
'3753673681921405342', '3777379712179997541', '3813071949229670318',
'3892779051788071299', '3947747006808155019', '4066480316146693808',
'412248530744676502', '4199221143687903771', '4207792088337486088',
'4597960191382621518', '4612713077300785176', '4657867806450380283',
'4735370280257035193', '4785691704942750780', '4809552503312022895',
'4842275106902520767', '4878051865841616450', '4887264057652918170',
'4908123109797616793', '4987535764488086652', '508457952789436420',
'5088881017366673980', '5163486608702457143', '519633796096830968',
'522799328689389087', '5352579355131040598', '5503842169454985963',
'5565328463158713532', '5609439067773452558', '5657665302238984411',
'5701532537576095920', '5839062207138699510', '5931798814777745989',
'5980670293980456377', '615430779171114052', '6254458411099816383',
'6256805962725932801', '6323776049499528008', '6332645209971556633',
'6395366779517242130', '6455845799535995422', '6456557110054399857',
'6477185895547812007', '648103729219041265', '6505151582953522624',
'6550564212025413269', '6665927663268523568', '6677173284206912573',
'6679463202580424400', '6741489589036366372', '6782618000237698857',
'6843983964089896958', '6891706416432426122', '6895069933853721336',
'6913092539668898679', '6936038647448621390', '697962390197454962',
'6988882964393828334', '6989619349955916481', '7018627502833875623',
'7032013094831436868', '7074328677375982430', '7094519827982917268',
'7156480996694562594', '7163667849334089983', '7303921954360529623',
'7342137260923509536', '735996798077577374', '7367195111471326029',
'747876574106238309', '7557083875301250439', '759307544644221286',
'7748101416075244958', '7827793219727638111', '7830745873140040681',
'7874766026934872530', '7940766697523213943', '8028070985360449514',
'8089927719722500638', '8295751642046569692', '8367961079335506573',
'8451634274289740811', '8481066146577177719', '8562641334286951221',
'8570662002403808357', '8716623942636038348', '8782947888528908374',
'88615312645095082', '894513314421523431', '929728945702827539',
'97235183821118976'} | null
{code}
> Issue num_tokens on cassandra after perform snapshot restore - Cassandra
> 3.11.10 and 3.11.11
> --------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-17035
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17035
> Project: Cassandra
> Issue Type: Bug
> Reporter: Igor Marinho
> Priority: Urgent
> Attachments: system.log
>
>
> After upgrading from 3.0.13 to 3.11.10 I'm having issue when I retsore the
> data from the node. After the restore is done it changes the number of tokens
> from 256 to 512.In cassandra.yaml it still num_token: 256, so I have no idea
> what's going on here.
> {code:java}
> cassandra.yaml value -> num_tokens: 256{code}
> These are the steps I'm performing
>
> {code:java}
> rm -rf /var/lib/cassandra/data/*
> rm -rf /var/lib/cassandra/commitlog/*
> rm -rf /var/lib/cassandra/saved_caches/*
> rm -rf /var/lib/cassandra/hints/*
> tar -xvf $BACKUP_LOC/$BACKUP_NAME.tar -C /
> find ${DATA_DIR} -mindepth 2 -path "*/snapshots/${BACKUP_NAME}/*" -type f
> \-exec bash -c 'dir={} && cd ${dir%/*} && mv {} ../..' \;
> nodetool -u $NODETOOL_USR -pw $NODETOOL_PASSWD -h $(hostname) refresh
> $keyspace $table --ssl
> {code}
>
> When I restart the node after perfoming the steps above it changes the tokens
> from 256 to 512.
> ERROR:
>
> {code:java}
> ERROR [main] 2021-10-07 15:16:24,060 CassandraDaemon.java:803 - Fatal
> configuration error org.apache.cassandra.exceptions.ConfigurationException:
> Cannot change the number of tokens from 512 to 256 at
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1102)
> ~[apache-cassandra-3.11.11.jar:3.11.11] at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:760)
> ~[apache-cassandra-3.11.11.jar:3.11.11] at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:694)
> ~[apache-cassandra-3.11.11.jar:3.11.11] at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:395)
> [apache-cassandra-3.11.11.jar:3.11.11] at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:633)
> [apache-cassandra-3.11.11.jar:3.11.11] at
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:786)
> [apache-cassandra-3.11.11.jar:3.11.11] INFO [StorageServiceShutdownHook]
> 2021-10-07 15:16:24,064 HintsService.java:209 - Paused hints dispatch INFO
> [StorageServiceShutdownHook] 2021-10-07 15:16:24,064 Gossiper.java:1683 -
> Announcing shutdown
> {code}
> It happens even in a empty node that I'm not trying to restore data, it
> happens after deleting the data from /var/lib/cassandra and restarting the
> node.
>
> {code:java}
> IINFO [main] 2021-10-12 15:21:23,034 StorageService.java:778 - Loading
> persisted ring state
> INFO [main] 2021-10-12 15:21:23,085 StorageService.java:907 - Starting up
> server gossip
> INFO [main] 2021-10-12 15:21:23,108 TokenMetadata.java:497 - Updating
> topology for /10.20.30.51
> INFO [main] 2021-10-12 15:21:23,109 TokenMetadata.java:497 - Updating
> topology for /10.20.30.51
> ERROR [main] 2021-10-12 15:21:23,166 CassandraDaemon.java:803 - Fatal
> configuration error
> org.apache.cassandra.exceptions.ConfigurationException: Cannot change the
> number of tokens from 512 to 256
> at
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1078)
> ~[apache-cassandra-3.11.10.jar:3.11.10]
> at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:753)
> ~[apache-cassandra-3.11.10.jar:3.11.10]
> at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:687)
> ~[apache-cassandra-3.11.10.jar:3.11.10]
> at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:395)
> [apache-cassandra-3.11.10.jar:3.11.10]
> at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:633)
> [apache-cassandra-3.11.10.jar:3.11.10]
> at
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:786)
> [apache-cassandra-3.11.10.jar:3.11.10]
> INFO [StorageServiceShutdownHook] 2021-10-12 15:21:23,168
> HintsService.java:209 - Paused hints dispatch
> INFO [StorageServiceShutdownHook] 2021-10-12 15:21:23,169 Gossiper.java:1662
> - Announcing shutdown
> {code}
> Any ideas on it?
> Thanks,
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]