Revision f5281a53a448ac4daecfd7d4ad690a5a71de6dd6 authored by Siying Dong on 15 June 2018, 17:59:40 UTC, committed by Facebook Github Bot on 15 June 2018, 18:12:29 UTC
Summary:
Make sure that some recent releases can read master's option files while ignoring unknown options. Also add two more recent release branches.
Closes https://github.com/facebook/rocksdb/pull/3994

Differential Revision: D8409499

Pulled By: siying

fbshipit-source-id: 1b025f19ba288da0517f6b4572797573e23e23c2
1 parent fbe3b9e
Raw File
read_callback.h
// Copyright (c) 2011-present, Facebook, Inc.  All rights reserved.
//  This source code is licensed under both the GPLv2 (found in the
//  COPYING file in the root directory) and Apache 2.0 License
//  (found in the LICENSE.Apache file in the root directory).

#pragma once

#include "rocksdb/types.h"

namespace rocksdb {

class ReadCallback {
 public:
  virtual ~ReadCallback() {}

  // Will be called to see if the seq number accepted; if not it moves on to the
  // next seq number.
  virtual bool IsCommitted(SequenceNumber seq) = 0;
};

}  //  namespace rocksdb
back to top