keith-turner commented on PR #5734:
URL: https://github.com/apache/accumulo/pull/5734#issuecomment-3058153003

   Tested these changes by running GracefulShutdownIT and then looking at the 
logs to see if the new code was running.  Saw the following tserver log 
messages that showed the new code is running and ignoring load request.
   
   ```
   2025-07-10T16:12:58,913 93 [tserver.TabletServer] INFO : Graceful shutdown 
initiated.
   2025-07-10T16:13:00,516 46 [tserver.TabletServer] DEBUG: Stopping 
Replication Server
   2025-07-10T16:13:00,516 46 [tserver.TabletServer] DEBUG: Unloading tablets
   2025-07-10T16:13:00,517 46 [tserver.TabletServer] DEBUG: All USER tablets 
unloaded
   2025-07-10T16:13:00,518 46 [tserver.TabletServer] DEBUG: Waiting on 1 
METADATA tablets to close.
   2025-07-10T16:13:00,518 103 [tserver.UnloadTabletHandler] INFO : Tablet 
unload for extent !0<;~ requested.
   2025-07-10T16:13:00,521 103 [tablet.Tablet] DEBUG: !0<;~ closeState 
REQUESTED tabletMemory.memoryReservedForMinC() false 
tabletMemory.getMemTable().getNumEntries() 0 updatingFlushID false
   2025-07-10T16:13:00,546 103 [tablet.Tablet] INFO : Tablet !0<;~ closed.
   2025-07-10T16:13:00,551 103 [tablet.location] DEBUG: Unassigned !0<;~ with 0 
walogs
   2025-07-10T16:13:01,519 46 [tserver.TabletServer] DEBUG: Waiting on 0 
METADATA tablets to close.
   2025-07-10T16:13:01,632 95 [tablet.location] DEBUG: Loading !0<;~ on 
localhost:39109[1000049ee3f0004]
   2025-07-10T16:13:01,632 63 [tserver.OpeningTablets] INFO : ignoring request 
to load !0<;~ because the data level is shutdown
   2025-07-10T16:13:01,739 97 [tablet.location] DEBUG: Loading !0<;~ on 
localhost:39109[1000049ee3f0004]
   2025-07-10T16:13:01,739 63 [tserver.OpeningTablets] INFO : ignoring request 
to load !0<;~ because the data level is shutdown
   2025-07-10T16:13:01,764 32 [server.GarbageCollectionLogger] DEBUG: gc G1 
Young Generation=0.02(+0.00) secs G1 Old Generation=0.03(+0.00) secs 
freemem=48,292,544(-27,483,528) totalmem=104,857,600
   2025-07-10T16:13:01,846 57 [tablet.location] DEBUG: Loading !0<;~ on 
localhost:39109[1000049ee3f0004]
   2025-07-10T16:13:01,846 63 [tserver.OpeningTablets] INFO : ignoring request 
to load !0<;~ because the data level is shutdown
   2025-07-10T16:13:02,519 46 [tserver.TabletServer] DEBUG: All METADATA 
tablets unloaded
   2025-07-10T16:13:02,519 46 [tserver.TabletServer] DEBUG: All ROOT tablets 
unloaded
   2025-07-10T16:13:02,520 46 [tserver.TabletServer] DEBUG: Stopping Thrift 
Servers
   2025-07-10T16:13:02,520 46 [tserver.TabletServer] DEBUG: Closing filesystems
   2025-07-10T16:13:02,521 46 [server.GarbageCollectionLogger] DEBUG: gc G1 
Young Generation=0.02(+0.00) secs G1 Old Generation=0.03(+0.00) secs 
freemem=47,188,280(-28,587,792) totalmem=104,857,600
   2025-07-10T16:13:02,521 46 [tserver.TabletServer] INFO : TServerInfo: stop 
requested. exiting ... 
   2025-07-10T16:13:02,521 46 [zookeeper.ServiceLock] DEBUG: 
[zlock#1ac50674-eb13-47b2-8f08-290fb2912959#] Deleting all at path 
/accumulo/8d0040f3-6944-4dbc-99bc-92cd1f98098c/tservers/localhost:39109/zlock#1ac50674-eb13-47b2-8f08-290fb2912959#0000000000
 due to unlock
   2025-07-10T16:13:02,526 46 [util.Halt] ERROR: FATAL tablet server lost lock 
(reason = LOCK_DELETED), exiting cleanly because shutdown is complete.
   ```


-- 
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]

Reply via email to