Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6653

Standby server must always send the persisted head to clients

    XMLWordPrintableJSON

Details

    Description

      Currently the standby server sends an un-persisted head record to clients. Under normal circumstances, the TarMK flush thread is able to persist it and its corresponding segment at a 5 seconds interval.
      However, there are cases (uploading a very large blob > 10 GB) in which the flush thread writes the segment too late, and the 20s allowed by FileStoreUtil#readSegmentWithRetry are not enough. Therefore the server can't read the segment containing the head record and a timeout occurs on the client.

      Attachments

        1. OAK-6653.patch
          6 kB
          Andrei Dulceanu

        Activity

          People

            adulceanu Andrei Dulceanu
            adulceanu Andrei Dulceanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: