eywek
07/06/2022, 8:43 AMSELECT * FROM datasource_6298afcc7527000300387fdf
only my consuming segment is queried and the query result 0 docs.
And if I do
SELECT * FROM datasource_6298afcc7527000300387fdf_OFFLINE
I get 1k docs
It seems that the OFFLINE table/segment is ignored (like if the table wasn’t hybrid anymore?), do you have any idea on how I can troubleshoot this? Or any tips to fix it?
I cannot see something useful in logs
2022/07/06 08:21:52.843 INFO [QueryScheduler] [pqr-1] Processed requestId=16284217,table=datasource_6298afcc7527000300387fdf_REALTIME,segments(queried/processed/matched/consuming)=1/0/0/1,schedulerWaitMs=0,reqDeserMs=0,totalExecMs=0,resSerMs=0,totalTimeMs=0,minConsumingFreshnessMs=9223372036854775807,broker=Broker_<ip>_8099,numDocsScanned=0,scanInFilter=0,scanPostFilter=0,sched=FCFS,threadCpuTimeNs(total/thread/sysActivity/resSer)=0/0/0/0
2022/07/06 08:21:52.844 INFO [BaseBrokerRequestHandler] [jersey-server-managed-async-executor-13771] requestId=16284217,table=datasource_6298afcc7527000300387fdf,timeMs=2,docs=0/0,entries=0/0,segments(queried/processed/matched/consuming/unavailable):1/0/0/1/0,consumingFreshnessTimeMs=9223372036854775807,servers=1/1,groupLimitReached=false,brokerReduceTimeMs=0,exceptions=0,serverStats=(Server=SubmitDelayMs,ResponseDelayMs,ResponseSize,DeserializationTimeMs,RequestSentDelayMs);<ip>_R=0,1,927,0,-1,offlineThreadCpuTimeNs(total/thread/sysActivity/resSer):0/0/0/0,realtimeThreadCpuTimeNs(total/thread/sysActivity/resSer):0/0/0/0,query=SELECT * FROM datasource_6298afcc7527000300387fdf
Thank youLaxman Ch
07/06/2022, 8:47 AMeywek
07/06/2022, 8:51 AM"retentionTimeUnit": "DAYS",
"retentionTimeValue": "3",
OFFLINE:
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "90",
My OFFLINE segment end.time
is 1656518367582
, if I do
SELECT * FROM datasource_6298afcc7527000300387fdf WHERE "timestamp" < 1656518367582
I get 0 docs too (with _OFFLINE suffix I get results, and the creation.time
of my REALTIME segment is 1656760777780
)Laxman Ch
07/06/2022, 9:01 AMeywek
07/06/2022, 9:01 AMNeha Pawar
eywek
07/06/2022, 4:10 PMNeha Pawar
select min(time), max(time) from table_OFFLINE
and same for realtime? what’s the segmentPushType set in OFFLINE table?eywek
07/06/2022, 4:26 PMAPPEND
in both tableseywek
07/07/2022, 2:51 PMeywek
07/11/2022, 11:52 AMMayank
eywek
07/11/2022, 3:13 PMeywek
07/13/2022, 3:00 PMMayank
eywek
07/13/2022, 6:36 PMeywek
07/13/2022, 6:37 PMMayank
eywek
07/18/2022, 8:13 AMselect count(*) FROM datasource_6298afcc7527000300387fdf
1
select count(*) FROM datasource_6298afcc7527000300387fdf_REALTIME
1
select count(*) FROM datasource_6298afcc7527000300387fdf_OFFLINE
1014
With which route can I get the time boundary value?Mayank
eywek
07/18/2022, 1:38 PM<http://10.1.1.12:9000/segments/datasource_6298afcc7527000300387fdf/select?excludeOverlapping=true>
which returns
[
{
"OFFLINE": [
"datasource_6298afcc7527000300387fdf_1656515667518_1656518367582_0"
]
},
{
"REALTIME": [
"datasource_6298afcc7527000300387fdf__0__18__20220714T1520Z",
"datasource_6298afcc7527000300387fdf__0__19__20220715T0244Z",
"datasource_6298afcc7527000300387fdf__0__20__20220715T1055Z",
"datasource_6298afcc7527000300387fdf__0__21__20220715T1703Z",
"datasource_6298afcc7527000300387fdf__0__22__20220716T0013Z",
"datasource_6298afcc7527000300387fdf__0__23__20220718T0813Z"
]
}
]
(dunno if it’s the route you were expecting)eywek
07/22/2022, 12:24 PM