Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3042

BufferingTable does not merge buffered writes with multi-get results

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: Datasets
    • Labels:
    • Rank:
      1|hzyw7j:

      Description

      BufferingTable does not provide an easy way to merge any pending writes in the buffer with the results of a multi-get request.

      BufferingTable should define an abstract method:
      public abstract List<Row> getPersisted(List<Get> gets);

      and override the method get(List<Get>), delegating to getPersisted() for the persisted results, then merging any results from the buffer back on to the response.

      Or, alternately, BufferingTable could provide a protected method for subclasses to access the contents of the buffer per-row, allowing the subclasses to merge the buffered and persisted results.

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              gary Gary Helmling
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: