Dont know if its just anecdotal and temporary, but...
# community-help
t
Dont know if its just anecdotal and temporary, but never experienced before. After I updated my local test environment from typesense/typesense:30.0.rca33 -> typesense/typesense:30.0.rca34, for some reason dropping collection has become incredible slow. Almost to the point where I am not sure if it will remove it at all, but then after 5 minutes it might be gone. So dont have any reproducable gist etc, and maybe its just a problem of size so need bigger collection to reproduce. but with exactly the same data it was never a problem, always took a few seconds before. Here I dropped a pretty small collection that normally takes 1 second.. dont know if logs makes any sense.. but I had to try delete several times, and it still was hanging around, and then all of sudden it was finally gone.
Copy code
I20251212 09:23:07.337235  1379 raft_server.h:60] Peer refresh succeeded!
I20251212 09:23:17.337924  1177 raft_server.cpp:754] Term: 17, pending_queue: 0, last_index: 1653120, committed: 1653120, known_applied: 1653120, applying: 0, pending_writes: 0, queued_writes: 6, local_sequence: 4844127001
I20251212 09:23:17.338011  1408 raft_server.h:60] Peer refresh succeeded!
I20251212 09:23:27.338658  1177 raft_server.cpp:754] Term: 17, pending_queue: 0, last_index: 1653120, committed: 1653120, known_applied: 1653120, applying: 0, pending_writes: 0, queued_writes: 6, local_sequence: 4844750001
I20251212 09:23:27.338727  1235 raft_server.h:60] Peer refresh succeeded!
I20251212 09:23:33.298519  1178 batched_indexer.cpp:432] Running GC for aborted requests, req map size: 6, reference_q.size: 0
I20251212 09:23:37.339421  1177 raft_server.cpp:754] Term: 17, pending_queue: 0, last_index: 1653120, committed: 1653120, known_applied: 1653120, applying: 0, pending_writes: 0, queued_writes: 6, local_sequence: 4845430001
I20251212 09:23:37.339488  1410 raft_server.h:60] Peer refresh succeeded!
I20251212 09:23:38.383803  1321 http_data.h:387] event=slow_request, time=252687 ms, client_ip=172.19.0.1, endpoint=DELETE /collections/products_dk?collection=products_dk&x-typesense-user-id=172.19.0.1&, body=
I20251212 09:23:38.411680  1321 core_api.cpp:410] Invalidated schema prompt cache for collection: products_dk
I20251212 09:23:38.411854     1 http_data.h:387] event=slow_request, time=247613 ms, client_ip=172.19.0.1, endpoint=DELETE /collections/products_dk?collection=products_dk&x-typesense-user-id=172.19.0.1&, body=
I20251212 09:23:38.413399  1321 core_api.cpp:410] Invalidated schema prompt cache for collection: products_dk
I20251212 09:23:38.413451     1 http_data.h:387] event=slow_request, time=191666 ms, client_ip=172.19.0.1, endpoint=DELETE /collections/products_dk?collection=products_dk&x-typesense-user-id=172.19.0.1&, body=
I20251212 09:23:38.414960  1321 core_api.cpp:410] Invalidated schema prompt cache for collection: products_dk
I20251212 09:23:38.414989     1 http_data.h:387] event=slow_request, time=188705 ms, client_ip=172.19.0.1, endpoint=DELETE /collections/products_dk?collection=products_dk&x-typesense-user-id=172.19.0.1&, body=
I20251212 09:23:38.416502  1321 core_api.cpp:410] Invalidated schema prompt cache for collection: products_dk
I20251212 09:23:38.416528     1 http_data.h:387] event=slow_request, time=186568 ms, client_ip=172.19.0.1, endpoint=DELETE /collections/products_dk?collection=products_dk&x-typesense-user-id=172.19.0.1&, body=
I20251212 09:23:38.418022  1321 core_api.cpp:410] Invalidated schema prompt cache for collection: products_dk
I20251212 09:23:38.418047     1 http_data.h:387] event=slow_request, time=147989 ms, client_ip=172.19.0.1, endpoint=DELETE /collections/products_dk?collection=products_dk&x-typesense-user-id=172.19.0.1&, body=
I20251212 09:23:47.340145  1177 raft_server.cpp:754] Term: 17, pending_queue: 0, last_index: 1653120, committed: 1653120, known_applied: 1653120, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 4845511705
I20251212 09:23:47.340224  1379 raft_server.h:60] Peer refresh succeeded!
I20251212 09:23:57.340984  1177 raft_server.cpp:754] Term: 17, pending_queue: 0, last_index: 1653120, committed: 1653120, known_applied: 1653120, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 4845511705
I20251212 09:23:57.341075  1408 raft_server.h:60] Peer refresh succeeded!
I20251212 09:24:07.341699  1177 raft_server.cpp:754] Term: 17, pending_queue: 0, last_index: 1653120, committed: 1653120, known_applied: 1653120, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 4845511705
I20251212 09:24:07.341790  1235 raft_server.h:60] Peer refresh succeeded!
I20251212 09:24:17.342546  1177 raft_server.cpp:754] Term: 17, pending_queue: 0, last_index: 1653120, committed: 1653120, known_applied: 1653120, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 4845511705
I20251212 09:24:17.342624  1410 raft_server.h:60] Peer refresh succeeded!
I20251212 09:24:27.343371  1177 raft_server.cpp:754] Term: 17, pending_queue: 0, last_index: 1653120, committed: 1653120, known_applied: 1653120, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 4845511705
I20251212 09:24:27.343441  1379 raft_server.h:60] Peer refresh succeeded!
I20251212 09:24:34.302376  1178 batched_indexer.cpp:432] Running GC for aborted requests, req map size: 0, reference_q.size: 0
Do with this info as you will.. maybe anyone from development team have some idea in case something changed between rca33 and rca34 that might be relevant. So just leavning it here if its useful.
k
Hi Thomas. Thanks for reporting this. How big is the collection you are trying to drop?