bagipriyank commented on issue #9393:
URL: https://github.com/apache/pinot/issues/9393#issuecomment-1317522164
This is what i see in the logs
```
2022-11-15 16:59:43 | 77 END:INVOKE CallbackHandler 0,
/pinot-offline-staging/INSTANCES/Server_pinot-offline-server-0.pinot-offline-server-headless.de-nrt-pinot.svc.cluster.local_8098/MESSAGES
listener: org.apache.helix.messaging.handling.HelixTaskExecutor@2ef8cae type:
CALLBACK Took: 2ms
2022-11-15 16:59:43 | No Messages to process
2022-11-15 16:59:43 | CallbackHandler0, Subscribing to path:
/pinot-offline--staging/INSTANCES/Server_pinot-offline-server-0.pinot-offline-server-headless.de-nrt-pinot.svc.cluster.local_8098/MESSAGES
took: 1
2022-11-15 16:59:43 | CallbackHandler 0 subscribing changes listener to
path:
/pinot-offline-staging/INSTANCES/Server_pinot-offline-server-0.pinot-offline-server-headless.de-nrt-pinot.svc.cluster.local_8098/MESSAGES,
callback type: CALLBACK, event types: [NodeChildrenChanged], listener:
org.apache.helix.messaging.handling.HelixTaskExecutor@2ef8cae, watchChild: false
2022-11-15 16:59:43 | 77 START: CallbackHandler 0, INVOKE
/pinot-offline-staging/INSTANCES/Server_pinot-offline-server-0.pinot-offline-server-headless.de-nrt-pinot.svc.cluster.local_8098/MESSAGES
listener: org.apache.helix.messaging.handling.HelixTaskExecutor@2ef8cae type:
CALLBACK
| | 2022-11-15 16:59:43 | Message: c279d79e-f19e-43ad-ae96-4ab0071e2fbe
(parent: null) handling task for
students_OFFLINE:students_OFFLINE_1597044264380_1597044264670_0 completed at:
1668560383006, results: true. FrameworkTime: 4 ms; HandlerTime: 6 ms.
2022-11-15 16:59:43 | message finished:
c279d79e-f19e-43ad-ae96-4ab0071e2fbe, took 9
2022-11-15 16:59:43 | MBean
CLMParticipantReport:Cluster=pinot-offline-staging,Transition=OFFLINE--DROPPED
has been registered.
2022-11-15 16:59:43 | Delete message c279d79e-f19e-43ad-ae96-4ab0071e2fbe
from zk!
2022-11-15 16:59:43 | Message c279d79e-f19e-43ad-ae96-4ab0071e2fbe completed.
2022-11-15 16:59:43 | Removed
/pinot-offline-staging/INSTANCES/Server_pinot-offline-server-0.pinot-offline-server-headless.de-nrt-pinot.svc.cluster.local_8098/CURRENTSTATES/30000028dd80026/students_OFFLINE
2022-11-15 16:59:43 | Merging with delta list, recordId = students_OFFLINE
other:students_OFFLINE
2022-11-15 16:59:42 |
SegmentOnlineOfflineStateModel.onBecomeDroppedFromOffline() :
ZnRecord=c279d79e-f19e-43ad-ae96-4ab0071e2fbe, {CREATE_TIMESTAMP=1668560382982,
ClusterEventName=MessageChange, EXECUTE_START_TIMESTAMP=1668560382997,
EXE_SESSION_ID=30000028dd80026, FROM_STATE=OFFLINE,
MSG_ID=c279d79e-f19e-43ad-ae96-4ab0071e2fbe, MSG_STATE=read,
MSG_TYPE=STATE_TRANSITION,
PARTITION_NAME=students_OFFLINE_1597044264380_1597044264670_0,
READ_TIMESTAMP=1668560382991, RESOURCE_NAME=students_OFFLINE,
RESOURCE_TAG=students_OFFLINE, RETRY_COUNT=3,
SRC_NAME=pinot-offline-controller-0.pinot-offline-controller-headless.de-nrt-pinot.svc.cluster.local_9000,
SRC_SESSION_ID=30000028dd8001b,
STATE_MODEL_DEF=SegmentOnlineOfflineStateModel,
STATE_MODEL_FACTORY_NAME=DEFAULT,
TGT_NAME=Server_pinot-offline-server-0.pinot-offline-server-headless.de-nrt-pinot.svc.cluster.local_8098,
TGT_SESSION_ID=30000028dd80026, TO_STATE=DROPPED}{}{}, Stat=Stat {_version=0,
_creationTime=1668560382983, _modifiedTime=1
668560382983, _ephemeralOwner=0}
```
I don't see any entries in map fields for the table in external view or
ideal state. i don't see any segments for the table in property store either.
It has been more than 12 hours since I invoked delete segments api call via
swagger but I still see the segments on the disc on the server
```
root@pinot-offline-server-0:/opt/pinot# cd /var/pinot/server/data/index
root@pinot-offline-server-0:/var/pinot/server/data/index# ls -lh
total 8.0K
drwxr-sr-x 3 root 1337 4.0K Nov 16 00:14
students_OFFLINE_1597044264380_1597044264670_0
drwxr-sr-x 2 root 1337 4.0K Nov 16 00:14 tmp
root@pinot-offline-server-0:/var/pinot/server/data/index#
```
This is the table config
```
{
"OFFLINE": {
"tableName": "students_OFFLINE",
"tableType": "OFFLINE",
"segmentsConfig": {
"timeType": "MILLISECONDS",
"schemaName": "students",
"retentionTimeUnit": "MINUTES",
"retentionTimeValue": "30",
"replication": "1",
"timeColumnName": "timestampInEpoch",
"minimizeDataMovement": false
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant"
},
"tableIndexConfig": {
"invertedIndexColumns": [],
"rangeIndexVersion": 2,
"autoGeneratedInvertedIndex": false,
"createInvertedIndexDuringSegmentGeneration": false,
"loadMode": "MMAP",
"enableDefaultStarTree": false,
"aggregateMetrics": false,
"enableDynamicStarTreeCreation": false,
"nullHandlingEnabled": false,
"optimizeDictionaryForMetrics": false,
"noDictionarySizeRatioThreshold": 0
},
"metadata": {},
"isDimTable": false
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]