Menu

#156 cfdptest not handling events in non-interactive mode

4.1.4 - GitHub
closed
nobody
None
1
2025-11-20
2021-02-16
No

cfdptest does not seem to handle any event in scripted mode (non interactive). It exits right away. This is problematic when you queue up a multitude of request transfers. It will overrun ION. Solution seems to have cfdptest handle events until a transfer complete is received (at least when that mode is requested).

Related

Bugs: #156

Discussion

  • Pat Cappelaere

    Pat Cappelaere - 2021-02-19

    Attached updated version for consideration with some very minor changes to exit only when transaction finished event is received.

     
  • Pat Cappelaere

    Pat Cappelaere - 2021-02-19

    Attached an updated version of cfdp_listen.c. Original code is from Samuel Jero 2011.
    Code has been updated to timestamp the events at a millisecond resolution.
    It has been updated to generate optional kafka messages on 'transaction finished' with support of metadata information. That code is available on demand.
    This code runs on the receiving node of cfdp file transfers. It detects all cfdp events, prints messages (and optionally can generate a software bus message when a file has been successfully transmitted). The source node can use cfdp_test to transmit files. cfdp_test will wait now that a file is transmitted to exit. A bash file can be used to transmit a batch of files as necessary.

     
  • Pat Cappelaere

    Pat Cappelaere - 2021-02-19

    re-attached cfdp_listen.c

     
  • Jay Gao

    Jay Gao - 2023-12-20
    • Group: 4.0.1 --> 4.1.4 - GitHub
     
  • Jay Gao

    Jay Gao - 2025-11-20
    • status: open --> closed
     
  • Jay Gao

    Jay Gao - 2025-11-20

    Added to possible enhance for ION 4.1.4 stable (Q2 of 2026)

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB