Skip to content

Commit

Permalink
Prune rocks db and DbWriter
Browse files Browse the repository at this point in the history
Summary: Kept this library around for so long to give us a reference if we ever get a chance to pick it up but it is causing more problems than its solving. We can refer to this diff if we ever need to

Differential Revision:
D56153465

Privacy Context Container: L1125642

fbshipit-source-id: 22b4e6ad2f38481e3390e9f1b8855c5095becd8f
  • Loading branch information
Peyman Gardideh authored and facebook-github-bot committed Apr 17, 2024
1 parent 85150d4 commit 9e5b74e
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 698 deletions.
32 changes: 0 additions & 32 deletions fboss/fsdb/if/fsdb.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,6 @@ struct OperSubscriberInfo {
6: optional i64 subscribedSince;
}

// ----------------------------------------------------------------------------

struct StatsSubUnitPayloadControlCtor {}

struct StatsSubUnitPayloadControlDtor {}

typedef list<i64> Vector
typedef string ExportTypeStr
@cpp.Type{template = "folly::F14FastMap"}
typedef map<ExportTypeStr, Vector> Vectors

// `fb303c -s ${TESTSWITCH}:5909 getCounters` data representation
@cpp.Type{template = "folly::F14FastMap"}
typedef map<string, i64> Counters

struct StatsSubUnitPayloadDataCompressed {
1: Vectors vectors;
}

struct StatsSubUnitPayloadData {
1: Counters counters;
}

union StatsSubUnitPayload {
1: StatsSubUnitPayloadControlCtor available;
2: StatsSubUnitPayloadControlDtor unavailable;
3: StatsSubUnitPayloadData data;
4: StatsSubUnitPayloadDataCompressed dataCompressed; // for rocksdb only
}

// ----------------------------------------------------------------------------

@cpp.Type{template = "folly::F14FastMap"}
typedef map<
fsdb_common.PublisherId,
Expand Down
215 changes: 0 additions & 215 deletions fboss/fsdb/oper/DbWriter.cpp

This file was deleted.

57 changes: 0 additions & 57 deletions fboss/fsdb/oper/DbWriter.h

This file was deleted.

Loading

0 comments on commit 9e5b74e

Please sign in to comment.