Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20269

The flush happens too frequent in SavepoinV2Serializer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.9.0
    • None
    • None

    Description

      The reason I notice this is, I find that the metadata's persistence can be very slow (but the states' uploading process works fine) when the network is unstable, and almost every time I dump the stack of the process, the bottleneck happens on Hdfs client waiting for Datanodes' ack during metadata's persistance.

       

      I wonder, is it really necessary to flush the stream after every StreamStateHandle's serialization?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wind_ljy Jiayi Liao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: