Details
-
Bug
-
Resolution: User Error
-
Major
-
5.5.0
-
Untriaged
-
No
Description
we are using data_replicated XDCR stats to ensure compression is working fine - sometimes the REST endpoint to retrieve this stats returns all 0 values - this should not be the case when replication is all caught up:
[2018-02-28 09:00:03,052] - [remote_util:3047] INFO - running command.raw on 172.23.105.81: curl -u Administrator:password http://172.23.105.81:8091/pools/default/buckets/standard_bucket_1/stats/replications%2F5a2ed9e728f4b857646271101d57641e%2Fstandard_bucket_1%2Fstandard_bucket_1%2Fdata_replicated
[2018-02-28 09:00:03,167] - [remote_util:3084] INFO - command executed successfully
[2018-02-28 09:00:03,168] - [remote_util:2845] ERROR - % Total % Received % Xferd Average Speed Time Time Time Current
[2018-02-28 09:00:03,168] - [remote_util:2845] ERROR - Dload Upload Total Spent Left Speed
[2018-02-28 09:00:03,168] - [remote_util:2845] ERROR -
[2018-02-28 09:00:03,168] - [remote_util:2845] ERROR - 0 0 0 0 0 0 0 0 -::- -::- -::- 0
[2018-02-28 09:00:03,169] - [remote_util:2845] ERROR - 101 1218 101 1218 0 0 159k 0 -::- -::- -::- 169k
[2018-02-28 09:00:03,169] - [remote_util:2882] INFO - {"samplesCount":60,"isPersistent":true,"lastTStamp":1519837202071,"interval":1000,"timestamp":[1519837144071,1519837145071,1519837146071,1519837147071,1519837148071,1519837149071,1519837150071,1519837151071,1519837152071,1519837153071,1519837154071,1519837155071,1519837156071,1519837157071,1519837158071,1519837159071,1519837160071,1519837161071,1519837162071,1519837163071,1519837164071,1519837165071,1519837166071,1519837167071,1519837168071,1519837169071,1519837170071,1519837171071,1519837172071,1519837173071,1519837174071,1519837175071,1519837176071,1519837177071,1519837178071,1519837179071,1519837180071,1519837181072,1519837182071,1519837183071,1519837184071,1519837185071,1519837186071,1519837187071,1519837188071,1519837189071,1519837190071,1519837191071,1519837192071,1519837193071,1519837194071,1519837195072,1519837196071,1519837197071,1519837198071,1519837199071,1519837200071,1519837201072,1519837202071],"nodeStats":{"172.23.105.81:8091":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"172.23.105.86:8091":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}}
[2018-02-28 09:00:03,169] - [compressionXDCR:62] INFO - Compressed data for replication 5a2ed9e728f4b857646271101d57641e%2Fstandard_bucket_1%2Fstandard_bucket_1 is 0
[2018-02-28 09:00:03,170] - [remote_util:3047] INFO - running command.raw on 172.23.105.81: curl -u Administrator:password http://172.23.105.81:8091/pools/default/buckets/standard_bucket_2/stats/replications%2F5a2ed9e728f4b857646271101d57641e%2Fstandard_bucket_2%2Fstandard_bucket_2%2Fdata_replicated
[2018-02-28 09:00:03,286] - [remote_util:3084] INFO - command executed successfully
[2018-02-28 09:00:03,287] - [remote_util:2845] ERROR - % Total % Received % Xferd Average Speed Time Time Time Current
[2018-02-28 09:00:03,287] - [remote_util:2845] ERROR - Dload Upload Total Spent Left Speed
[2018-02-28 09:00:03,287] - [remote_util:2845] ERROR -
[2018-02-28 09:00:03,288] - [remote_util:2845] ERROR - 0 0 0 0 0 0 0 0 -::- -::- -::- 0
[2018-02-28 09:00:03,288] - [remote_util:2845] ERROR - 101 1218 101 1218 0 0 159k 0 -::- -::- -::- 237k
[2018-02-28 09:00:03,288] - [remote_util:2882] INFO - {"samplesCount":60,"isPersistent":true,"lastTStamp":1519837202071,"interval":1000,"timestamp":[1519837144071,1519837145071,1519837146071,1519837147071,1519837148071,1519837149071,1519837150071,1519837151071,1519837152071,1519837153071,1519837154071,1519837155071,1519837156071,1519837157071,1519837158071,1519837159071,1519837160071,1519837161071,1519837162071,1519837163071,1519837164071,1519837165071,1519837166071,1519837167071,1519837168071,1519837169071,1519837170071,1519837171071,1519837172071,1519837173071,1519837174071,1519837175071,1519837176071,1519837177071,1519837178071,1519837179071,1519837180071,1519837181072,1519837182071,1519837183071,1519837184071,1519837185071,1519837186071,1519837187071,1519837188071,1519837189071,1519837190071,1519837191071,1519837192071,1519837193071,1519837194071,1519837195072,1519837196071,1519837197071,1519837198071,1519837199071,1519837200071,1519837201072,1519837202071],"nodeStats":{"172.23.105.81:8091":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"172.23.105.86:8091":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}}
[2018-02-28 09:00:03,288] - [compressionXDCR:73] INFO - Uncompressed data for replication 5a2ed9e728f4b857646271101d57641e%2Fstandard_bucket_2%2Fstandard_bucket_2 is 0
Note that nodeStats is all 0 for both the replications for all timestamps - based on my discussion with Neil Huang we have not changed anything in the way this stats is communicated to ns_server - so assigning to ns_serv team for investigation