Commit 27ba181
[TIKA-4704] Implement pipes client shutdown to reduce temp directory leak
* [TIKA-4704] Implement pipes client shutdown in TikaGrpcServerImpl
Added shutdown logic for pipes client in TikaGrpcServerImpl.
* Update tika-grpc/src/main/java/org/apache/tika/pipes/grpc/TikaGrpcServerImpl.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* add postShutdown
Ensure igniteStoreServer is set to null in finally block.
* Call postShutdown method after server shutdown
Invoke postShutdown on service implementation if not null.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 4a65796 commit 27ba181
2 files changed
Lines changed: 21 additions & 1 deletion
File tree
- tika-grpc/src/main/java/org/apache/tika/pipes/grpc
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | 486 | | |
488 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
489 | 506 | | |
490 | 507 | | |
491 | 508 | | |
| |||
0 commit comments