moved Notified.h from flow -> fdbclient ; flow bindings package does better job when excluding testers
This commit is contained in:
parent
b133862db6
commit
660729839c
|
|
@ -29,7 +29,7 @@ packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH).tar.gz: fdb_flow
|
|||
@rm -rf packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)
|
||||
@mkdir -p packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)/lib packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)/include/bindings/flow packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)/include/bindings/c/foundationdb
|
||||
@cp lib/libfdb_flow.a packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)/lib
|
||||
@find bindings/flow -name '*.h' -not -name '*tester*' -exec cp {} packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)/include/bindings/flow \;
|
||||
@find bindings/flow -name '*.h' -not -name 'bindings/flow/tester/*' -exec cp {} packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)/include/bindings/flow \;
|
||||
@find bindings/c/foundationdb -name '*.h' -exec cp {} packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)/include/bindings/c/foundationdb \;
|
||||
@tar czf packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH).tar.gz -C packages fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)
|
||||
@rm -rf packages/fdb-flow-$(FLOWVER)-$(PLATFORM)-$(ARCH)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#include "flow/flow.h"
|
||||
#include "NativeAPI.h"
|
||||
#include "TaskBucket.h"
|
||||
#include "flow/Notified.h"
|
||||
#include "Notified.h"
|
||||
#include <fdbrpc/IAsyncFile.h>
|
||||
#include "KeyBackedTypes.h"
|
||||
#include <ctime>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#define FLOW_NOTIFIED_H
|
||||
#pragma once
|
||||
|
||||
#include "fdbclient/FDBTypes.h"
|
||||
#include "FDBTypes.h"
|
||||
#include "flow/TDMetric.actor.h"
|
||||
|
||||
struct NotifiedVersion {
|
||||
|
|
@ -78,4 +78,4 @@ private:
|
|||
VersionMetricHandle val;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
@ -25,10 +25,10 @@
|
|||
#include "fdbclient/MutationList.h"
|
||||
#include "fdbclient/SystemData.h"
|
||||
#include "fdbclient/BackupAgent.h"
|
||||
#include "fdbclient/Notified.h"
|
||||
#include "IKeyValueStore.h"
|
||||
#include "LogSystem.h"
|
||||
#include "LogProtocolMessage.h"
|
||||
#include "flow/Notified.h"
|
||||
|
||||
static bool isMetadataMutation(MutationRef const& m) {
|
||||
// FIXME: This is conservative - not everything in system keyspace is necessarily processed by applyMetadataMutations
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
#include "IKeyValueStore.h"
|
||||
#include "IDiskQueue.h"
|
||||
#include "flow/IndexedSet.h"
|
||||
#include "flow/Notified.h"
|
||||
#include "flow/ActorCollection.h"
|
||||
#include "fdbclient/Notified.h"
|
||||
#include "fdbclient/SystemData.h"
|
||||
|
||||
#define OP_DISK_OVERHEAD (sizeof(OpHeader) + 1)
|
||||
|
|
@ -705,4 +705,4 @@ IKeyValueStore* keyValueStoreMemory( std::string const& basename, UID logID, int
|
|||
|
||||
IKeyValueStore* keyValueStoreLogSystem( class IDiskQueue* queue, UID logID, int64_t memoryLimit, bool disableSnapshot ) {
|
||||
return new KeyValueStoreMemory( queue, logID, memoryLimit, disableSnapshot );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@
|
|||
#include "LogSystemDiskQueueAdapter.h"
|
||||
#include "IKeyValueStore.h"
|
||||
#include "fdbclient/SystemData.h"
|
||||
#include "flow/Notified.h"
|
||||
#include "fdbrpc/sim_validation.h"
|
||||
#include "fdbrpc/batcher.actor.h"
|
||||
#include "fdbclient/Notified.h"
|
||||
#include "fdbclient/KeyRangeMap.h"
|
||||
#include "ConflictSet.h"
|
||||
#include "flow/Stats.h"
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@
|
|||
#include "flow/Stats.h"
|
||||
#include "flow/UnitTest.h"
|
||||
#include "fdbclient/NativeAPI.h"
|
||||
#include "fdbclient/Notified.h"
|
||||
#include "fdbclient/KeyRangeMap.h"
|
||||
#include "fdbclient/SystemData.h"
|
||||
#include "WorkerInterface.h"
|
||||
#include "TLogInterface.h"
|
||||
#include "flow/Notified.h"
|
||||
#include "Knobs.h"
|
||||
#include "IKeyValueStore.h"
|
||||
#include "flow/ActorCollection.h"
|
||||
|
|
@ -1448,4 +1448,4 @@ namespace oldTLog {
|
|||
Void _ = wait( tLogStart( &self, LogSystemConfig(), Version(0), Version(0), std::vector<Tag>(), true, tli, ReplyPromise<TLogInterface>(), recoveryCount ) || removed );
|
||||
throw internal_error(); // tLogStart doesn't return without an error
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
#elif !defined(FDBSERVER_ORDERER_ACTOR_H)
|
||||
#define FDBSERVER_ORDERER_ACTOR_H
|
||||
|
||||
#include "fdbclient/Notified.h"
|
||||
#include "flow/actorcompiler.h"
|
||||
#include "flow/Notified.h"
|
||||
|
||||
template <class Seq>
|
||||
class Orderer {
|
||||
|
|
@ -71,4 +71,4 @@ private:
|
|||
Promise<Void> shutdown; // Never set, only broken on destruction
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@
|
|||
#include "flow/Stats.h"
|
||||
#include "flow/UnitTest.h"
|
||||
#include "fdbclient/NativeAPI.h"
|
||||
#include "fdbclient/Notified.h"
|
||||
#include "fdbclient/KeyRangeMap.h"
|
||||
#include "fdbclient/SystemData.h"
|
||||
#include "WorkerInterface.h"
|
||||
#include "TLogInterface.h"
|
||||
#include "flow/Notified.h"
|
||||
#include "Knobs.h"
|
||||
#include "IKeyValueStore.h"
|
||||
#include "flow/ActorCollection.h"
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@
|
|||
#include "flow/Trace.h"
|
||||
#include "fdbrpc/FailureMonitor.h"
|
||||
#include "fdbclient/NativeAPI.h"
|
||||
#include "fdbclient/Notified.h"
|
||||
#include "fdbclient/SystemData.h"
|
||||
#include "ConflictSet.h"
|
||||
#include "flow/Notified.h"
|
||||
#include "DataDistribution.h"
|
||||
#include "Knobs.h"
|
||||
#include <iterator>
|
||||
|
|
|
|||
|
|
@ -29,12 +29,12 @@
|
|||
#include "fdbclient/KeyRangeMap.h"
|
||||
#include "fdbclient/SystemData.h"
|
||||
#include "fdbclient/NativeAPI.h"
|
||||
#include "fdbclient/Notified.h"
|
||||
#include "fdbclient/MasterProxyInterface.h"
|
||||
#include "fdbclient/DatabaseContext.h"
|
||||
#include "WorkerInterface.h"
|
||||
#include "TLogInterface.h"
|
||||
#include "MoveKeys.h"
|
||||
#include "flow/Notified.h"
|
||||
#include "Knobs.h"
|
||||
#include "WaitFailure.h"
|
||||
#include "IKeyValueStore.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue