Skip to content

Commit

Permalink
chore(*): remove content-store
Browse files Browse the repository at this point in the history
All "content" accesses go through the layerdb now. Content-store crate
has been removed.

Co-Authored-By: Scott Prutton <[email protected]>
  • Loading branch information
zacharyhamm and sprutton1 committed Mar 15, 2024
1 parent 49a3f34 commit 469dbe7
Show file tree
Hide file tree
Showing 63 changed files with 230 additions and 1,038 deletions.
2 changes: 1 addition & 1 deletion .ci/docker-compose.test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- "PGPASSWORD=bugbear"
- "POSTGRES_USER=si_test"
- "POSTGRES_DB=si_test"
- "POSTGRES_MULTIPLE_DBS=si_test_content_store,si_test_dal,si_test_sdf_server,si_test_key_value_pairs"
- "POSTGRES_MULTIPLE_DBS=si_test_dal,si_test_sdf_server,si_test_layer_db"
command:
- "-c"
- "fsync=off"
Expand Down
28 changes: 0 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ members = [
"lib/buck2-resources",
"lib/bytes-lines-codec",
"lib/config-file",
"lib/content-store",
"lib/council-server",
"lib/cyclone-client",
"lib/cyclone-core",
Expand Down
3 changes: 0 additions & 3 deletions bin/sdf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ async fn async_main() -> Result<()> {

let pg_pool = Server::create_pg_pool(config.pg_pool()).await?;

let content_store_pg_pool = Server::create_pg_pool(config.content_store_pg_pool()).await?;

let veritech = Server::create_veritech_client(nats_conn.clone());

let symmetric_crypto_service =
Expand Down Expand Up @@ -138,7 +136,6 @@ async fn async_main() -> Result<()> {
Some(module_index_url),
symmetric_crypto_service,
rebaser_config,
content_store_pg_pool,
layer_db,
);

Expand Down
2 changes: 1 addition & 1 deletion component/postgres/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ docker_image(
"--env",
"POSTGRES_DB=si",
"--env",
"POSTGRES_MULTIPLE_DBS=si_content_store,si_auth,si_layer_db,si_test,si_test_content_store,si_test_dal,si_test_sdf_server",
"POSTGRES_MULTIPLE_DBS=si_auth,si_layer_db,si_test,si_test_dal,si_test_sdf_server",
"--publish",
"5432:5432",
],
Expand Down
4 changes: 2 additions & 2 deletions dev/docker-compose.platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- "PGPASSWORD=bugbear"
- "POSTGRES_USER=si"
- "POSTGRES_DB=si"
- "POSTGRES_MULTIPLE_DBS=si_content_store,si_layer_db,si_auth,si_module_index,si_key_value_pairs"
- "POSTGRES_MULTIPLE_DBS=si_layer_db,si_auth,si_module_index"
ports:
- "5432:5432"
healthcheck:
Expand All @@ -25,7 +25,7 @@ services:
- "PGPASSWORD=bugbear"
- "POSTGRES_USER=si_test"
- "POSTGRES_DB=si_test"
- "POSTGRES_MULTIPLE_DBS=si_test_content_store,si_test_dal,si_test_sdf_server,si_test_key_value_pairs"
- "POSTGRES_MULTIPLE_DBS=si_test_dal,si_test_sdf_server,si_test_layer_db"
command:
- "-c"
- "fsync=off"
Expand Down
31 changes: 0 additions & 31 deletions lib/content-store/BUCK

This file was deleted.

25 changes: 0 additions & 25 deletions lib/content-store/Cargo.toml

This file was deleted.

13 changes: 0 additions & 13 deletions lib/content-store/build.rs

This file was deleted.

35 changes: 0 additions & 35 deletions lib/content-store/src/lib.rs

This file was deleted.

108 changes: 0 additions & 108 deletions lib/content-store/src/pair.rs

This file was deleted.

Loading

0 comments on commit 469dbe7

Please sign in to comment.