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

Simplify the server side of cold standby

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Segment Tar 0.0.14
    • segment-tar
    • None

    Description

      With the changes introduced in OAK-4803, it would be nice to keep the previous symmetry between the client and server and remove thus the FileStore reference from the latter.

      Per frm's suggestion from one of the comments in OAK-4803:

      In the end, these are the only three lines where the FileStore is used in the server, which already suggests that this separation of concerns exists - at least at the level of the handlers.

      p.addLast(new GetHeadRequestHandler(new DefaultStandbyHeadReader(store)));
      p.addLast(new GetSegmentRequestHandler(new DefaultStandbySegmentReader(store)));
      p.addLast(new GetBlobRequestHandler(new DefaultStandbyBlobReader(store)));
      

      Attachments

        1. OAK-4813-01.patch
          89 kB
          Andrei Dulceanu

        Issue Links

          Activity

            People

              frm Francesco Mari
              adulceanu Andrei Dulceanu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: