Commit ae53ceb5 authored by Bashar's avatar Bashar

Added Rethink Realtime Ability

parent 517f28ba
package com.example.consumer;
import com.example.consumer.configuration.SocketTextHandler;
import com.example.consumer.factory.RethinkDBConnectionFactory;
import com.example.consumer.repository.RethinkChange;
import com.rethinkdb.RethinkDB;
import com.rethinkdb.net.Connection;
import com.rethinkdb.net.Cursor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.kafka.annotation.KafkaListener;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@SpringBootApplication
public class ConsumerApplication {
public class ConsumerApplication implements CommandLineRunner {
public static void main(String[] args) {
SpringApplication.run(ConsumerApplication.class, args);
}
private final RethinkDB r = RethinkDB.r;
@Autowired
public RethinkDBConnectionFactory connectionFactory;
@Autowired
private SocketTextHandler socket_server;
@Override
public void run(String... args) throws Exception {
Connection connection = connectionFactory.getConnection();
Cursor<RethinkChange> changeCursor = r.db("my_database").table("my_table").changes().optArg("include_initial",true).
run(connection, RethinkChange.class);
List<Map<String, Object>> result = new ArrayList<>();
for (RethinkChange change : changeCursor){
System.out.println("Something Changed");
result.add(change.getNew_val());
socket_server.broadcast(result);
}
}
// @KafkaListener(topics = "Test")
// public void handleNotification(String s) {
//
......
package com.example.consumer.configuration;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CopyOnWriteArrayList;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.CloseStatus;
import org.springframework.web.socket.TextMessage;
import org.springframework.web.socket.WebSocketMessage;
import org.springframework.web.socket.WebSocketSession;
import org.springframework.web.socket.handler.TextWebSocketHandler;
@Component
public class SocketTextHandler {
// extends TextWebSocketHandler {
//
// @Override
// public void handleTextMessage(WebSocketSession session, TextMessage message)
// throws InterruptedException, IOException {
//
// String payload = message.getPayload();
// JSONObject jsonObject = new JSONObject(payload);
// session.sendMessage(new TextMessage("Hi " + jsonObject.get("user") + " how may we help you?"));
// }
public class SocketTextHandler extends TextWebSocketHandler {
private List<WebSocketSession> sessions = new CopyOnWriteArrayList<>();
@Override
public void afterConnectionEstablished(WebSocketSession session) throws Exception {
System.out.println("New connection from " + session.getRemoteAddress());
sessions.add(session);
}
@Override
protected void handleTextMessage(WebSocketSession session, TextMessage message) throws Exception {
System.out.println("Received message from " + session.getRemoteAddress() + ": " + message.getPayload());
// Handle incoming message
}
@Override
public void afterConnectionClosed(WebSocketSession session, CloseStatus status) throws Exception {
System.out.println("Connection closed to " + session.getRemoteAddress() + " with status " + status);
sessions.remove(session);
}
public void broadcast(List<Map<String, Object>> message) throws IOException {
System.out.println("Hey Broadcasting");
System.out.println(message);
ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter();
String json = ow.writeValueAsString(message);
System.out.println(json);
TextMessage s = new TextMessage(json);
System.out.println(s);
for (WebSocketSession session : sessions) {
if (session.isOpen()) {
session.sendMessage(s);
}
}
}
}
package com.example.consumer.configuration;
import com.example.consumer.services.RethinkDBService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.simp.config.MessageBrokerRegistry;
import org.springframework.web.socket.config.annotation.*;
@Configuration
public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
@EnableWebSocket
public class WebSocketConfig implements WebSocketConfigurer {
@Autowired
private SocketTextHandler socket_server;
@Override
public void registerStompEndpoints(StompEndpointRegistry registry) {
registry.addEndpoint("/ws").setAllowedOriginPatterns("*").withSockJS();
}
@Override
public void configureMessageBroker(MessageBrokerRegistry registry) {
registry.setApplicationDestinationPrefixes("/app");
registry.enableSimpleBroker("/traps","/changes");
registry.setUserDestinationPrefix("/changes");
public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) {
System.out.println("HEYYYYYYYYYYYYYYYYYY");
registry.addHandler(socket_server, "/my-websocket").setAllowedOrigins("*");
}
}
......@@ -15,10 +15,10 @@ import java.util.Map;
@RequestMapping("/api/rethink")
public class RethinkController {
@Autowired
private RethinkDBService rethinkDBService;
private RethinkDBService rethinkDBService;
@PostMapping("/data")
@PostMapping("/data")
public ResponseEntity<String> saveData(@RequestBody Map<String, Object> data) {
rethinkDBService.saveData("my_database", "my_table", data);
return ResponseEntity.ok("Data saved successfully in RethinkDB");
......@@ -27,6 +27,7 @@ public class RethinkController {
@GetMapping("/data")
public ResponseEntity<List<Map<String, Object>>> getData() {
List<Map<String, Object>> result = rethinkDBService.getData("my_database", "my_table");
System.out.println(result);
if (result != null) {
return ResponseEntity.ok(result);
} else {
......
......@@ -2,12 +2,15 @@ package com.example.consumer.factory;
import com.rethinkdb.RethinkDB;
import com.rethinkdb.net.Connection;
import com.rethinkdb.net.Cursor;
import jakarta.annotation.PostConstruct;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeoutException;
@Component
......@@ -28,6 +31,17 @@ public class RethinkDBConnectionFactory {
try {
connection = r.connection().hostname(host).port(port).connect();
log.info("RethinkDB connected successfully");
List<String> dbList = r.dbList().run(connection);
if (!dbList.contains("my_database")) {
System.out.println("Creating DATABASE Heeeeeeeeeeeeeeeeeeeeeeeeeere");
r.dbCreate("my_database").run(connection);
}
List<String> tables = r.db("my_database").tableList().run(connection);
if (!tables.contains("my_table")) {
System.out.println("Creating Table Heeeeeeeeeeeeeeeeeeeeeeeeeere");
r.db("my_database").tableCreate("my_table").run(connection);
//r.db("my_database").table("my_table").indexCreate("trap").run(connection);
}
} catch (Exception e) {
log.error("Error connecting to RethinkDB", e);
}
......
package com.example.consumer.repository;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Map;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RethinkChange {
private Map<String,Object> new_val;
private Map<String,Object> old_val;
}
......@@ -20,17 +20,19 @@ public class DbInitializer implements InitializingBean {
@Override
public void afterPropertiesSet() throws Exception {
createDb();
}
private void createDb() {
System.out.println("We are initializing heeeeeeeeeeeeeeeeeeeeeer");
Connection connection = connectionFactory.getConnection();
List<String> dbList = r.dbList().run(connection);
if (!dbList.contains("new_database")) {
System.out.println("Creating DATABASE Heeeeeeeeeeeeeeeeeeeeeeeeeere");
r.dbCreate("new_database").run(connection);
}
List<String> tables = r.db("new_database").tableList().run(connection);
if (!tables.contains("new_table")) {
System.out.println("Creating Table Heeeeeeeeeeeeeeeeeeeeeeeeeere");
r.db("new_database").tableCreate("new_table").run(connection);
r.db("new_database").table("new_table").indexCreate("trap").run(connection);
}
......
package com.example.consumer.services;
import com.example.consumer.configuration.SocketTextHandler;
import com.example.consumer.factory.RethinkDBConnectionFactory;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.rethinkdb.RethinkDB;
import com.rethinkdb.gen.ast.Json;
import com.rethinkdb.gen.ast.Table;
import com.rethinkdb.net.Cursor;
import org.reactivestreams.Subscription;
import org.slf4j.Logger;
......@@ -42,6 +44,7 @@ public class RethinkDBService {
String jsonString = "{\"trap\":\" "+message+"\"}";
JsonNode jsonNode = objectMapper.readTree(jsonString);
// Create a RethinkDB document object using the parsed JSON object
Map<String, Object> document = objectMapper.convertValue(jsonNode, Map.class);
r.db("my_database").table("my_table").insert(document).run(connectionFactory.getConnection());
......@@ -71,7 +74,17 @@ public class RethinkDBService {
return null;
}
}
//Connection conn = connectionFactory.getConnection();
//Cursor<Map<String, Object> > changeCursor = r.db(database).table(table).changes().run(conn);
/*for (Object change : changeCursor) {
result.add((Map<String, Object>) change);
}
try {
socket_server.broadcast(result);
} catch (IOException e) {
throw new RuntimeException(e);
}*/
}
server.port = 2005
server.port = 4164
spring.kafka.bootstrap-servers=localhost:9092
spring.kafka.template.default-topic=notificationTopic
......@@ -10,4 +10,4 @@ rethinkdb.host = localhost
rethinkdb.port = 28015
spring.data.elasticsearch.cluster-names=trapsService
spring.data.elasticsearch.cluster-node=localhost:9200
\ No newline at end of file
spring.data.elasticsearch.cluster-node=localhost:9200
......@@ -169,6 +169,239 @@
2023-05-08T09:46:27.341688200 1437.037082s notice: All client connections closed.
2023-05-08T09:46:27.341697400 1437.037091s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
2023-05-08T09:46:27.439415100 1437.134809s notice: Storage engine shut down.
2023-05-08T23:12:52.119196500 0.769153s notice: Recursively removing directory /data/rethinkdb_data/tmp
2023-05-08T23:12:52.181734000 0.831681s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-08T23:12:52.297983000 0.947931s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-08T23:12:52.315977500 0.965925s notice: Loading data from directory /data/rethinkdb_data
2023-05-08T23:12:52.749847800 1.399795s info: Automatically using cache size of 100 MB
2023-05-08T23:12:52.756713300 1.406660s warn: Cache size does not leave much memory for server and query overhead (available memory: 737 MB).
2023-05-08T23:12:52.756721600 1.406668s warn: Cache size is very low and may impact performance.
2023-05-08T23:12:52.772248200 1.422195s notice: Listening for intracluster connections on port 29015
2023-05-08T23:12:53.162955700 1.812902s notice: Listening for client driver connections on port 28015
2023-05-08T23:12:53.167937000 1.817884s notice: Listening for administrative HTTP connections on port 8080
2023-05-08T23:12:53.167943900 1.817890s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.4
2023-05-08T23:12:53.170044700 1.819991s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.4
2023-05-08T23:12:53.170052100 1.819999s notice: Listening on http addresses: 127.0.0.1, 172.18.0.4
2023-05-08T23:12:53.170055800 1.820002s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-08T23:12:54.966394800 3.616341s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: Starting a new Raft election for term 8.
2023-05-08T23:12:55.087036100 3.736983s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: This server is Raft leader for term 8. Latest log index is 22.
2023-05-09T00:39:58.611299400 5227.288134s notice: Server got SIGTERM from pid 0, uid 0; shutting down...
2023-05-09T00:39:58.614737300 5227.291572s notice: Shutting down client connections...
2023-05-09T00:39:58.618583300 5227.295418s notice: All client connections closed.
2023-05-09T00:39:58.618595400 5227.295429s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
2023-05-09T00:39:58.733690500 5227.410525s notice: Storage engine shut down.
2023-05-09T15:58:27.976208753 0.235733s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-09T15:58:28.406574989 0.666101s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-09T15:58:28.410095752 0.669621s notice: Loading data from directory /data/rethinkdb_data
2023-05-09T15:58:28.598552923 0.858077s info: Automatically using cache size of 100 MB
2023-05-09T15:58:28.601400224 0.860924s warn: Cache size does not leave much memory for server and query overhead (available memory: 639 MB).
2023-05-09T15:58:28.601408102 0.860932s warn: Cache size is very low and may impact performance.
2023-05-09T15:58:28.620065979 0.879590s notice: Listening for intracluster connections on port 29015
2023-05-09T15:58:28.752499660 1.012024s notice: Listening for client driver connections on port 28015
2023-05-09T15:58:28.752770480 1.012295s notice: Listening for administrative HTTP connections on port 8080
2023-05-09T15:58:28.752779355 1.012303s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.4
2023-05-09T15:58:28.752786933 1.012311s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.4
2023-05-09T15:58:28.752794511 1.012318s notice: Listening on http addresses: 127.0.0.1, 172.18.0.4
2023-05-09T15:58:28.752805380 1.012329s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-09T15:58:30.441460795 2.700985s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: Starting a new Raft election for term 9.
2023-05-09T15:58:30.465006898 2.724531s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: This server is Raft leader for term 9. Latest log index is 26.
2023-05-09T17:46:22.839412819 6475.083734s error: Error in thread 1 in src/arch/io/disk.cc at line 645:
2023-05-09T17:46:22.848494445 6475.092809s error: Guarantee failed: [abs_res != nullptr] (errno 2 - No such file or directory) Failed to determine absolute path for '/data/rethinkdb_data/c377f5d7-1750-4939-8080-40c068f7d7da'
2023-05-09T17:46:22.850913759 6475.095228s error: Backtrace:
2023-05-09T17:46:23.070083950 6475.314404s error: Tue May 9 17:46:22 2023\n\n1 [0x56012dc61fcf]: backtrace_t::backtrace_t() at 0x56012dc61fcf (rethinkdb)\n2 [0x56012dc625c2]: lazy_backtrace_formatter_t::lazy_backtrace_formatter_t() at 0x56012dc625c2 (rethinkdb)\n3 [0x56012dc626c8]: format_backtrace[abi:cxx11](bool) at 0x56012dc626c8 (rethinkdb)\n4 [0x56012d7f3536]: report_fatal_error(char const*, int, char const*, ...) at 0x56012d7f3536 (rethinkdb)\n5 [0x56012df2addc]: fsync_parent_directory(char const*) at 0x56012df2addc (rethinkdb)\n6 [0x56012df2b1e3]: warn_fsync_parent_directory(char const*) at 0x56012df2b1e3 (rethinkdb)\n7 [0x56012d7b1211]: filepath_file_opener_t::move_serializer_file_to_permanent_location() at 0x56012d7b1211 (rethinkdb)\n8 [0x56012d975a50]: real_multistore_ptr_t::real_multistore_ptr_t(uuid_u const&, serializer_filepath_t const&, scoped_ptr_t<real_branch_history_manager_t>&&, base_path_t const&, io_backender_t*, cache_balancer_t*, rdb_context_t*, perfmon_collection_t*, scoped_ptr_t<thread_allocation_t>&&, std::vector<scoped_ptr_t<thread_allocation_t>, std::allocator<scoped_ptr_t<thread_allocation_t> > >&&, std::map<uuid_u, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t>, std::less<uuid_u>, std::allocator<std::pair<uuid_u const, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t> > > >*) at 0x56012d975a50 (rethinkdb)\n9 [0x56012d9724ca]: real_table_persistence_interface_t::load_multistore(uuid_u const&, metadata::read_txn_t*, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x56012d9724ca (rethinkdb)\n10 [0x56012d97007b]: real_table_persistence_interface_t::create_multistore(uuid_u const&, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x56012d97007b (rethinkdb)\n11 [0x56012dac8432]: multi_table_manager_t::on_action(signal_t*, multi_table_manager_bcard_t::action_message_t const&) at 0x56012dac8432 (rethinkdb)\n12 [0x56012dacee19]: mailbox_t<multi_table_manager_bcard_t::action_message_t>::read_impl_t::read(read_stream_t*, signal_t*) at 0x56012dacee19 (rethinkdb)\n13 [0x56012dc2d735]: mailbox_manager_t::mailbox_read_coroutine(threadnum_t, unsigned long, std::vector<char, std::allocator<char> >*, long, mailbox_manager_t::force_yield_t) at 0x56012dc2d735 (rethinkdb)\n14 [0x56012df13d1d]: coro_t::run() at 0x56012df13d1d (rethinkdb)
2023-05-09T17:46:23.073305601 6475.317620s error: Exiting.
2023-05-09T17:49:27.740183056 0.811447s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-09T17:49:28.116100104 1.187364s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-09T17:49:28.117791757 1.189055s notice: Loading data from directory /data/rethinkdb_data
2023-05-09T17:49:28.457321528 1.528584s info: Automatically using cache size of 100 MB
2023-05-09T17:49:28.461178576 1.532441s warn: Cache size does not leave much memory for server and query overhead (available memory: 559 MB).
2023-05-09T17:49:28.461183576 1.532446s warn: Cache size is very low and may impact performance.
2023-05-09T17:49:28.474300057 1.545562s notice: Listening for intracluster connections on port 29015
2023-05-09T17:49:29.421132411 2.492395s notice: Listening for client driver connections on port 28015
2023-05-09T17:49:29.421408036 2.492671s notice: Listening for administrative HTTP connections on port 8080
2023-05-09T17:49:29.421419237 2.492681s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.4
2023-05-09T17:49:29.421426237 2.492688s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.4
2023-05-09T17:49:29.421455440 2.492718s notice: Listening on http addresses: 127.0.0.1, 172.18.0.4
2023-05-09T17:49:29.421461340 2.492724s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-09T17:49:30.612642515 3.683905s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: Starting a new Raft election for term 10.
2023-05-09T17:49:30.618953738 3.690216s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: This server is Raft leader for term 10. Latest log index is 29.
2023-05-09T17:49:31.082123641 4.153386s info: Table c377f5d7-1750-4939-8080-40c068f7d7da: Starting a new Raft election for term 1.
2023-05-09T17:49:31.088283867 4.159546s info: Table c377f5d7-1750-4939-8080-40c068f7d7da: This server is Raft leader for term 1. Latest log index is 0.
2023-05-09T17:51:22.895659290 115.968632s warn: Received invalid clustering header from [::ffff:172.18.0.1]:43478, closing connection -- something might be connecting to the wrong port.
2023-05-09T17:51:23.934130016 117.007103s warn: Received invalid clustering header from [::ffff:172.18.0.1]:43494, closing connection -- something might be connecting to the wrong port.
2023-05-09T17:51:25.344934735 118.417908s warn: Received invalid clustering header from [::ffff:172.18.0.1]:43508, closing connection -- something might be connecting to the wrong port.
2023-05-09T17:51:27.093292418 120.166265s notice: Someone asked for the nonwhitelisted file "/eureka/web". If this should be accessible, add it to the static web assets.
2023-05-09T19:00:57.760381061 4290.810468s notice: Server got SIGTERM from pid 0, uid 0; shutting down...
2023-05-09T19:00:57.763968405 4290.814056s notice: Shutting down client connections...
2023-05-09T19:00:57.780692078 4290.830780s notice: All client connections closed.
2023-05-09T19:00:57.780876385 4290.830964s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
2023-05-09T19:00:58.049312182 4291.099400s notice: Storage engine shut down.
2023-05-09T21:04:41.595951906 0.140301s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-09T21:04:41.677297731 0.221648s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-09T21:04:41.679259079 0.223609s notice: Loading data from directory /data/rethinkdb_data
2023-05-09T21:04:41.749109158 0.293458s info: Automatically using cache size of 100 MB
2023-05-09T21:04:41.751712820 0.296062s warn: Cache size does not leave much memory for server and query overhead (available memory: 656 MB).
2023-05-09T21:04:41.751721120 0.296070s warn: Cache size is very low and may impact performance.
2023-05-09T21:04:41.766884385 0.311234s notice: Listening for intracluster connections on port 29015
2023-05-09T21:04:41.954845604 0.499195s notice: Listening for client driver connections on port 28015
2023-05-09T21:04:41.955261514 0.499611s notice: Listening for administrative HTTP connections on port 8080
2023-05-09T21:04:41.955277514 0.499626s notice: Listening on cluster addresses: 127.0.0.1, 172.20.0.4
2023-05-09T21:04:41.955278314 0.499627s notice: Listening on driver addresses: 127.0.0.1, 172.20.0.4
2023-05-09T21:04:41.955282914 0.499632s notice: Listening on http addresses: 127.0.0.1, 172.20.0.4
2023-05-09T21:04:41.955286914 0.499636s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-09T21:04:43.223909411 1.768259s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: Starting a new Raft election for term 11.
2023-05-09T21:04:43.227450497 1.771800s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: This server is Raft leader for term 11. Latest log index is 32.
2023-05-09T21:04:43.365340111 1.909689s info: Table c377f5d7-1750-4939-8080-40c068f7d7da: Starting a new Raft election for term 2.
2023-05-09T21:04:43.369469211 1.913818s info: Table c377f5d7-1750-4939-8080-40c068f7d7da: This server is Raft leader for term 2. Latest log index is 2.
2023-05-09T21:05:34.843764595 53.387179s notice: Removing file /data/rethinkdb_data/c377f5d7-1750-4939-8080-40c068f7d7da
2023-05-09T21:05:34.843797995 53.387212s info: Table c377f5d7-1750-4939-8080-40c068f7d7da: Deleted the table.
2023-05-09T21:05:42.106554239 60.649969s notice: Removing file /data/rethinkdb_data/0d2cdb10-8d12-4307-bcba-7fb2b6e6d142
2023-05-09T21:05:42.106729638 60.650144s info: Table 0d2cdb10-8d12-4307-bcba-7fb2b6e6d142: Deleted the table.
2023-05-09T22:04:51.662627719 3609.772901s error: Error in thread 0 in src/arch/io/disk.cc at line 645:
2023-05-09T22:04:51.666675073 3609.776948s error: Guarantee failed: [abs_res != nullptr] (errno 2 - No such file or directory) Failed to determine absolute path for '/data/rethinkdb_data/f48aee88-3458-4142-a1c4-d102d496979c'
2023-05-09T22:04:51.669324639 3609.779597s error: Backtrace:
2023-05-09T22:04:51.903623135 3610.013901s error: Tue May 9 22:04:51 2023\n\n1 [0x55d9cd8b4fcf]: backtrace_t::backtrace_t() at 0x55d9cd8b4fcf (rethinkdb)\n2 [0x55d9cd8b55c2]: lazy_backtrace_formatter_t::lazy_backtrace_formatter_t() at 0x55d9cd8b55c2 (rethinkdb)\n3 [0x55d9cd8b56c8]: format_backtrace[abi:cxx11](bool) at 0x55d9cd8b56c8 (rethinkdb)\n4 [0x55d9cd446536]: report_fatal_error(char const*, int, char const*, ...) at 0x55d9cd446536 (rethinkdb)\n5 [0x55d9cdb7dddc]: fsync_parent_directory(char const*) at 0x55d9cdb7dddc (rethinkdb)\n6 [0x55d9cdb7e1e3]: warn_fsync_parent_directory(char const*) at 0x55d9cdb7e1e3 (rethinkdb)\n7 [0x55d9cd404211]: filepath_file_opener_t::move_serializer_file_to_permanent_location() at 0x55d9cd404211 (rethinkdb)\n8 [0x55d9cd5c8a50]: real_multistore_ptr_t::real_multistore_ptr_t(uuid_u const&, serializer_filepath_t const&, scoped_ptr_t<real_branch_history_manager_t>&&, base_path_t const&, io_backender_t*, cache_balancer_t*, rdb_context_t*, perfmon_collection_t*, scoped_ptr_t<thread_allocation_t>&&, std::vector<scoped_ptr_t<thread_allocation_t>, std::allocator<scoped_ptr_t<thread_allocation_t> > >&&, std::map<uuid_u, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t>, std::less<uuid_u>, std::allocator<std::pair<uuid_u const, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t> > > >*) at 0x55d9cd5c8a50 (rethinkdb)\n9 [0x55d9cd5c54ca]: real_table_persistence_interface_t::load_multistore(uuid_u const&, metadata::read_txn_t*, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x55d9cd5c54ca (rethinkdb)\n10 [0x55d9cd5c307b]: real_table_persistence_interface_t::create_multistore(uuid_u const&, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x55d9cd5c307b (rethinkdb)\n11 [0x55d9cd71b432]: multi_table_manager_t::on_action(signal_t*, multi_table_manager_bcard_t::action_message_t const&) at 0x55d9cd71b432 (rethinkdb)\n12 [0x55d9cd721e19]: mailbox_t<multi_table_manager_bcard_t::action_message_t>::read_impl_t::read(read_stream_t*, signal_t*) at 0x55d9cd721e19 (rethinkdb)\n13 [0x55d9cd880735]: mailbox_manager_t::mailbox_read_coroutine(threadnum_t, unsigned long, std::vector<char, std::allocator<char> >*, long, mailbox_manager_t::force_yield_t) at 0x55d9cd880735 (rethinkdb)\n14 [0x55d9cdb66d1d]: coro_t::run() at 0x55d9cdb66d1d (rethinkdb)
2023-05-09T22:04:51.905751669 3610.016024s error: Exiting.
2023-05-09T22:05:21.921664062 0.427717s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-09T22:05:21.939456035 0.445510s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-09T22:05:21.942238340 0.448292s notice: Loading data from directory /data/rethinkdb_data
2023-05-09T22:05:22.456631294 0.962684s info: Automatically using cache size of 100 MB
2023-05-09T22:05:22.461460608 0.967514s warn: Cache size does not leave much memory for server and query overhead (available memory: 636 MB).
2023-05-09T22:05:22.461467807 0.967521s warn: Cache size is very low and may impact performance.
2023-05-09T22:05:22.472066102 0.978120s notice: Listening for intracluster connections on port 29015
2023-05-09T22:05:22.848792005 1.354845s notice: Listening for client driver connections on port 28015
2023-05-09T22:05:22.849590692 1.355644s notice: Listening for administrative HTTP connections on port 8080
2023-05-09T22:05:22.849610689 1.355664s notice: Listening on cluster addresses: 127.0.0.1, 172.20.0.4
2023-05-09T22:05:22.849616888 1.355670s notice: Listening on driver addresses: 127.0.0.1, 172.20.0.4
2023-05-09T22:05:22.849622787 1.355676s notice: Listening on http addresses: 127.0.0.1, 172.20.0.4
2023-05-09T22:05:22.849643284 1.355696s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-09T22:05:23.793365671 2.299419s info: Table f48aee88-3458-4142-a1c4-d102d496979c: Starting a new Raft election for term 1.
2023-05-09T22:05:23.805830701 2.311884s info: Table f48aee88-3458-4142-a1c4-d102d496979c: This server is Raft leader for term 1. Latest log index is 0.
2023-05-10T00:10:14.818649959 7493.363081s notice: Server got SIGTERM from pid 0, uid 0; shutting down...
2023-05-10T00:10:14.824530636 7493.368961s notice: Shutting down client connections...
2023-05-10T00:10:14.835185156 7493.379616s notice: All client connections closed.
2023-05-10T00:10:14.835194759 7493.379625s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
2023-05-10T00:10:15.031484084 7493.575915s notice: Storage engine shut down.
2023-05-10T10:48:30.159800064 0.300163s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-10T10:48:30.229108212 0.369472s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-10T10:48:30.235379997 0.375743s notice: Loading data from directory /data/rethinkdb_data
2023-05-10T10:48:30.355107234 0.495470s info: Automatically using cache size of 100 MB
2023-05-10T10:48:30.357714352 0.498077s warn: Cache size does not leave much memory for server and query overhead (available memory: 1069 MB).
2023-05-10T10:48:30.357721253 0.498084s warn: Cache size is very low and may impact performance.
2023-05-10T10:48:30.370369327 0.510732s notice: Listening for intracluster connections on port 29015
2023-05-10T10:48:30.507653762 0.648018s notice: Listening for client driver connections on port 28015
2023-05-10T10:48:30.510676899 0.651040s notice: Listening for administrative HTTP connections on port 8080
2023-05-10T10:48:30.511338429 0.651701s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.4
2023-05-10T10:48:30.511344529 0.651707s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.4
2023-05-10T10:48:30.511348930 0.651711s notice: Listening on http addresses: 127.0.0.1, 172.18.0.4
2023-05-10T10:48:30.511369331 0.651732s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-10T10:48:32.267528542 2.407891s info: Table f48aee88-3458-4142-a1c4-d102d496979c: Starting a new Raft election for term 2.
2023-05-10T10:48:32.287021874 2.427385s info: Table f48aee88-3458-4142-a1c4-d102d496979c: This server is Raft leader for term 2. Latest log index is 2.
2023-05-10T10:51:46.997009946 197.129827s notice: Someone asked for the nonwhitelisted file "/eureka/web". If this should be accessible, add it to the static web assets.
2023-05-10T12:37:07.610297630 6517.877377s notice: Server got SIGTERM from pid 0, uid 0; shutting down...
2023-05-10T12:37:07.613246034 6517.880325s notice: Shutting down client connections...
2023-05-10T12:37:07.622895877 6517.889975s notice: All client connections closed.
2023-05-10T12:37:07.622907481 6517.889986s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
2023-05-10T12:37:07.758807202 6518.025886s notice: Storage engine shut down.
2023-05-10T18:19:58.992175049 0.289016s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-10T18:19:59.037843392 0.334685s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-10T18:19:59.048990968 0.345832s notice: Loading data from directory /data/rethinkdb_data
2023-05-10T18:19:59.386373717 0.683214s info: Automatically using cache size of 100 MB
2023-05-10T18:19:59.388733930 0.685574s warn: Cache size does not leave much memory for server and query overhead (available memory: 842 MB).
2023-05-10T18:19:59.388741031 0.685581s warn: Cache size is very low and may impact performance.
2023-05-10T18:19:59.421106614 0.717947s notice: Listening for intracluster connections on port 29015
2023-05-10T18:19:59.770855300 1.067696s notice: Listening for client driver connections on port 28015
2023-05-10T18:19:59.771326062 1.068166s notice: Listening for administrative HTTP connections on port 8080
2023-05-10T18:19:59.771339664 1.068180s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:19:59.771349766 1.068190s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:19:59.771358067 1.068198s notice: Listening on http addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:19:59.771366168 1.068206s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-10T18:20:00.812683677 2.109524s info: Table f48aee88-3458-4142-a1c4-d102d496979c: Starting a new Raft election for term 3.
2023-05-10T18:20:00.821090990 2.117931s info: Table f48aee88-3458-4142-a1c4-d102d496979c: This server is Raft leader for term 3. Latest log index is 5.
2023-05-10T18:21:33.713676557 95.018901s notice: Removing file /data/rethinkdb_data/f48aee88-3458-4142-a1c4-d102d496979c
2023-05-10T18:21:33.713715657 95.018940s info: Table f48aee88-3458-4142-a1c4-d102d496979c: Deleted the table.
2023-05-10T18:22:25.315361956 146.631311s error: Error in thread 0 in src/arch/io/disk.cc at line 645:
2023-05-10T18:22:25.325551953 146.641502s error: Guarantee failed: [abs_res != nullptr] (errno 2 - No such file or directory) Failed to determine absolute path for '/data/rethinkdb_data/c95ff49b-6d21-4c5b-9b9b-6def8e892bce'
2023-05-10T18:22:25.331128444 146.647078s error: Backtrace:
2023-05-10T18:22:25.479562812 146.795513s error: Wed May 10 18:22:25 2023\n\n1 [0x5637d4cd3fcf]: backtrace_t::backtrace_t() at 0x5637d4cd3fcf (rethinkdb)\n2 [0x5637d4cd45c2]: lazy_backtrace_formatter_t::lazy_backtrace_formatter_t() at 0x5637d4cd45c2 (rethinkdb)\n3 [0x5637d4cd46c8]: format_backtrace[abi:cxx11](bool) at 0x5637d4cd46c8 (rethinkdb)\n4 [0x5637d4865536]: report_fatal_error(char const*, int, char const*, ...) at 0x5637d4865536 (rethinkdb)\n5 [0x5637d4f9cddc]: fsync_parent_directory(char const*) at 0x5637d4f9cddc (rethinkdb)\n6 [0x5637d4f9d1e3]: warn_fsync_parent_directory(char const*) at 0x5637d4f9d1e3 (rethinkdb)\n7 [0x5637d4823211]: filepath_file_opener_t::move_serializer_file_to_permanent_location() at 0x5637d4823211 (rethinkdb)\n8 [0x5637d49e7a50]: real_multistore_ptr_t::real_multistore_ptr_t(uuid_u const&, serializer_filepath_t const&, scoped_ptr_t<real_branch_history_manager_t>&&, base_path_t const&, io_backender_t*, cache_balancer_t*, rdb_context_t*, perfmon_collection_t*, scoped_ptr_t<thread_allocation_t>&&, std::vector<scoped_ptr_t<thread_allocation_t>, std::allocator<scoped_ptr_t<thread_allocation_t> > >&&, std::map<uuid_u, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t>, std::less<uuid_u>, std::allocator<std::pair<uuid_u const, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t> > > >*) at 0x5637d49e7a50 (rethinkdb)\n9 [0x5637d49e44ca]: real_table_persistence_interface_t::load_multistore(uuid_u const&, metadata::read_txn_t*, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x5637d49e44ca (rethinkdb)\n10 [0x5637d49e207b]: real_table_persistence_interface_t::create_multistore(uuid_u const&, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x5637d49e207b (rethinkdb)\n11 [0x5637d4b3a432]: multi_table_manager_t::on_action(signal_t*, multi_table_manager_bcard_t::action_message_t const&) at 0x5637d4b3a432 (rethinkdb)\n12 [0x5637d4b40e19]: mailbox_t<multi_table_manager_bcard_t::action_message_t>::read_impl_t::read(read_stream_t*, signal_t*) at 0x5637d4b40e19 (rethinkdb)\n13 [0x5637d4c9f735]: mailbox_manager_t::mailbox_read_coroutine(threadnum_t, unsigned long, std::vector<char, std::allocator<char> >*, long, mailbox_manager_t::force_yield_t) at 0x5637d4c9f735 (rethinkdb)\n14 [0x5637d4f85d1d]: coro_t::run() at 0x5637d4f85d1d (rethinkdb)
2023-05-10T18:22:25.481646795 146.797596s error: Exiting.
2023-05-10T18:22:46.823222784 0.159831s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-10T18:22:46.845253894 0.181862s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-10T18:22:46.847452934 0.184060s notice: Loading data from directory /data/rethinkdb_data
2023-05-10T18:22:46.917343450 0.253950s info: Automatically using cache size of 100 MB
2023-05-10T18:22:46.918148975 0.254755s warn: Cache size does not leave much memory for server and query overhead (available memory: 791 MB).
2023-05-10T18:22:46.918155876 0.254762s warn: Cache size is very low and may impact performance.
2023-05-10T18:22:46.928152523 0.264759s notice: Listening for intracluster connections on port 29015
2023-05-10T18:22:46.963572105 0.300178s notice: Listening for client driver connections on port 28015
2023-05-10T18:22:46.963762534 0.300369s notice: Listening for administrative HTTP connections on port 8080
2023-05-10T18:22:46.963770435 0.300377s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:22:46.963776136 0.300382s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:22:46.963791439 0.300398s notice: Listening on http addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:22:46.963819543 0.300426s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-10T18:22:48.255201195 1.591808s info: Table c95ff49b-6d21-4c5b-9b9b-6def8e892bce: Starting a new Raft election for term 1.
2023-05-10T18:22:48.260722249 1.597328s info: Table c95ff49b-6d21-4c5b-9b9b-6def8e892bce: This server is Raft leader for term 1. Latest log index is 0.
2023-05-10T18:23:06.037568632 19.374175s notice: Removing file /data/rethinkdb_data/c95ff49b-6d21-4c5b-9b9b-6def8e892bce
2023-05-10T18:23:06.037595231 19.374201s info: Table c95ff49b-6d21-4c5b-9b9b-6def8e892bce: Deleted the table.
2023-05-10T18:23:36.554663527 49.894064s error: Error in thread 0 in src/arch/io/disk.cc at line 645:
2023-05-10T18:23:36.558152555 49.897553s error: Guarantee failed: [abs_res != nullptr] (errno 2 - No such file or directory) Failed to determine absolute path for '/data/rethinkdb_data/5f527c11-6ad8-4b7b-968f-adf4fb36806f'
2023-05-10T18:23:36.566812673 49.906214s error: Backtrace:
2023-05-10T18:23:36.617746945 49.957149s error: Wed May 10 18:23:36 2023\n\n1 [0x55c224a10fcf]: backtrace_t::backtrace_t() at 0x55c224a10fcf (rethinkdb)\n2 [0x55c224a115c2]: lazy_backtrace_formatter_t::lazy_backtrace_formatter_t() at 0x55c224a115c2 (rethinkdb)\n3 [0x55c224a116c8]: format_backtrace[abi:cxx11](bool) at 0x55c224a116c8 (rethinkdb)\n4 [0x55c2245a2536]: report_fatal_error(char const*, int, char const*, ...) at 0x55c2245a2536 (rethinkdb)\n5 [0x55c224cd9ddc]: fsync_parent_directory(char const*) at 0x55c224cd9ddc (rethinkdb)\n6 [0x55c224cda1e3]: warn_fsync_parent_directory(char const*) at 0x55c224cda1e3 (rethinkdb)\n7 [0x55c224560211]: filepath_file_opener_t::move_serializer_file_to_permanent_location() at 0x55c224560211 (rethinkdb)\n8 [0x55c224724a50]: real_multistore_ptr_t::real_multistore_ptr_t(uuid_u const&, serializer_filepath_t const&, scoped_ptr_t<real_branch_history_manager_t>&&, base_path_t const&, io_backender_t*, cache_balancer_t*, rdb_context_t*, perfmon_collection_t*, scoped_ptr_t<thread_allocation_t>&&, std::vector<scoped_ptr_t<thread_allocation_t>, std::allocator<scoped_ptr_t<thread_allocation_t> > >&&, std::map<uuid_u, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t>, std::less<uuid_u>, std::allocator<std::pair<uuid_u const, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t> > > >*) at 0x55c224724a50 (rethinkdb)\n9 [0x55c2247214ca]: real_table_persistence_interface_t::load_multistore(uuid_u const&, metadata::read_txn_t*, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x55c2247214ca (rethinkdb)\n10 [0x55c22471f07b]: real_table_persistence_interface_t::create_multistore(uuid_u const&, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x55c22471f07b (rethinkdb)\n11 [0x55c224877432]: multi_table_manager_t::on_action(signal_t*, multi_table_manager_bcard_t::action_message_t const&) at 0x55c224877432 (rethinkdb)\n12 [0x55c22487de19]: mailbox_t<multi_table_manager_bcard_t::action_message_t>::read_impl_t::read(read_stream_t*, signal_t*) at 0x55c22487de19 (rethinkdb)\n13 [0x55c2249dc735]: mailbox_manager_t::mailbox_read_coroutine(threadnum_t, unsigned long, std::vector<char, std::allocator<char> >*, long, mailbox_manager_t::force_yield_t) at 0x55c2249dc735 (rethinkdb)\n14 [0x55c224cc2d1d]: coro_t::run() at 0x55c224cc2d1d (rethinkdb)
2023-05-10T18:23:36.631379447 49.970780s error: Exiting.
2023-05-10T18:24:53.139312874 0.381306s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-10T18:24:53.155487215 0.397482s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-10T18:24:53.173369870 0.415364s notice: Loading data from directory /data/rethinkdb_data
2023-05-10T18:24:53.804529240 1.046522s info: Automatically using cache size of 100 MB
2023-05-10T18:24:53.808859877 1.050853s warn: Cache size does not leave much memory for server and query overhead (available memory: 791 MB).
2023-05-10T18:24:53.808866177 1.050859s warn: Cache size is very low and may impact performance.
2023-05-10T18:24:53.809873386 1.051867s notice: Listening for intracluster connections on port 29015
2023-05-10T18:24:53.870719714 1.112713s notice: Listening for client driver connections on port 28015
2023-05-10T18:24:53.871259118 1.113252s notice: Listening for administrative HTTP connections on port 8080
2023-05-10T18:24:53.871298019 1.113291s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:24:53.871459020 1.113452s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:24:53.871587421 1.113581s notice: Listening on http addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:24:53.871605121 1.113598s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-10T18:24:54.999804999 2.241798s info: Table 5f527c11-6ad8-4b7b-968f-adf4fb36806f: Starting a new Raft election for term 1.
2023-05-10T18:24:55.275694334 2.517687s info: Table 5f527c11-6ad8-4b7b-968f-adf4fb36806f: This server is Raft leader for term 1. Latest log index is 0.
2023-05-10T18:25:06.331259794 13.573253s notice: Removing file /data/rethinkdb_data/5f527c11-6ad8-4b7b-968f-adf4fb36806f
2023-05-10T18:25:06.331308395 13.573302s info: Table 5f527c11-6ad8-4b7b-968f-adf4fb36806f: Deleted the table.
2023-05-10T18:25:30.331058426 37.573289s error: Error in thread 0 in src/arch/io/disk.cc at line 645:
2023-05-10T18:25:30.339000695 37.581232s error: Guarantee failed: [abs_res != nullptr] (errno 2 - No such file or directory) Failed to determine absolute path for '/data/rethinkdb_data/9ab94c3e-b3cf-49d9-a5c1-98af7df44d3e'
2023-05-10T18:25:30.354153126 37.596384s error: Backtrace:
2023-05-10T18:25:30.384364587 37.626600s error: Wed May 10 18:25:30 2023\n\n1 [0x55f81646afcf]: backtrace_t::backtrace_t() at 0x55f81646afcf (rethinkdb)\n2 [0x55f81646b5c2]: lazy_backtrace_formatter_t::lazy_backtrace_formatter_t() at 0x55f81646b5c2 (rethinkdb)\n3 [0x55f81646b6c8]: format_backtrace[abi:cxx11](bool) at 0x55f81646b6c8 (rethinkdb)\n4 [0x55f815ffc536]: report_fatal_error(char const*, int, char const*, ...) at 0x55f815ffc536 (rethinkdb)\n5 [0x55f816733ddc]: fsync_parent_directory(char const*) at 0x55f816733ddc (rethinkdb)\n6 [0x55f8167341e3]: warn_fsync_parent_directory(char const*) at 0x55f8167341e3 (rethinkdb)\n7 [0x55f815fba211]: filepath_file_opener_t::move_serializer_file_to_permanent_location() at 0x55f815fba211 (rethinkdb)\n8 [0x55f81617ea50]: real_multistore_ptr_t::real_multistore_ptr_t(uuid_u const&, serializer_filepath_t const&, scoped_ptr_t<real_branch_history_manager_t>&&, base_path_t const&, io_backender_t*, cache_balancer_t*, rdb_context_t*, perfmon_collection_t*, scoped_ptr_t<thread_allocation_t>&&, std::vector<scoped_ptr_t<thread_allocation_t>, std::allocator<scoped_ptr_t<thread_allocation_t> > >&&, std::map<uuid_u, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t>, std::less<uuid_u>, std::allocator<std::pair<uuid_u const, std::pair<real_multistore_ptr_t*, auto_drainer_t::lock_t> > > >*) at 0x55f81617ea50 (rethinkdb)\n9 [0x55f81617b4ca]: real_table_persistence_interface_t::load_multistore(uuid_u const&, metadata::read_txn_t*, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x55f81617b4ca (rethinkdb)\n10 [0x55f81617907b]: real_table_persistence_interface_t::create_multistore(uuid_u const&, scoped_ptr_t<multistore_ptr_t>*, signal_t*, perfmon_collection_t*) at 0x55f81617907b (rethinkdb)\n11 [0x55f8162d1432]: multi_table_manager_t::on_action(signal_t*, multi_table_manager_bcard_t::action_message_t const&) at 0x55f8162d1432 (rethinkdb)\n12 [0x55f8162d7e19]: mailbox_t<multi_table_manager_bcard_t::action_message_t>::read_impl_t::read(read_stream_t*, signal_t*) at 0x55f8162d7e19 (rethinkdb)\n13 [0x55f816436735]: mailbox_manager_t::mailbox_read_coroutine(threadnum_t, unsigned long, std::vector<char, std::allocator<char> >*, long, mailbox_manager_t::force_yield_t) at 0x55f816436735 (rethinkdb)\n14 [0x55f81671cd1d]: coro_t::run() at 0x55f81671cd1d (rethinkdb)
2023-05-10T18:25:30.388358121 37.630589s error: Exiting.
2023-05-10T18:25:46.832818363 0.075402s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-10T18:25:46.852207022 0.094791s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-10T18:25:46.853503233 0.096087s notice: Loading data from directory /data/rethinkdb_data
2023-05-10T18:25:46.890063333 0.132647s info: Automatically using cache size of 100 MB
2023-05-10T18:25:46.890378736 0.132962s warn: Cache size does not leave much memory for server and query overhead (available memory: 765 MB).
2023-05-10T18:25:46.890384636 0.132968s warn: Cache size is very low and may impact performance.
2023-05-10T18:25:46.891510845 0.134095s notice: Listening for intracluster connections on port 29015
2023-05-10T18:25:46.916392549 0.158976s notice: Listening for client driver connections on port 28015
2023-05-10T18:25:46.916690852 0.159275s notice: Listening for administrative HTTP connections on port 8080
2023-05-10T18:25:46.916699552 0.159283s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:25:46.916721252 0.159305s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:25:46.916724752 0.159308s notice: Listening on http addresses: 127.0.0.1, 172.18.0.4
2023-05-10T18:25:46.916738452 0.159322s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-10T18:25:48.865062540 2.107646s info: Table 9ab94c3e-b3cf-49d9-a5c1-98af7df44d3e: Starting a new Raft election for term 1.
2023-05-10T18:25:48.869979980 2.112563s info: Table 9ab94c3e-b3cf-49d9-a5c1-98af7df44d3e: This server is Raft leader for term 1. Latest log index is 0.
2023-05-10T18:30:15.493081839 268.735700s notice: Server got SIGTERM from pid 0, uid 0; shutting down...
2023-05-10T18:30:15.494820449 268.737438s notice: Shutting down client connections...
2023-05-10T18:30:15.509962134 268.752580s notice: All client connections closed.
2023-05-10T18:30:15.509969434 268.752587s notice: Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
2023-05-10T18:30:15.542640116 268.785258s notice: Storage engine shut down.
2023-05-10T23:11:22.374271942 0.151610s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-10T23:11:22.391722759 0.169062s notice: Running on Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
2023-05-10T23:11:22.394447062 0.171786s notice: Loading data from directory /data/rethinkdb_data
2023-05-10T23:11:22.451877221 0.229215s info: Automatically using cache size of 405 MB
2023-05-10T23:11:22.460278829 0.237617s notice: Listening for intracluster connections on port 29015
2023-05-10T23:11:22.538910609 0.316249s notice: Listening for client driver connections on port 28015
2023-05-10T23:11:22.539077109 0.316415s notice: Listening for administrative HTTP connections on port 8080
2023-05-10T23:11:22.539082809 0.316421s notice: Listening on cluster addresses: 127.0.0.1, 172.18.0.2
2023-05-10T23:11:22.539090809 0.316429s notice: Listening on driver addresses: 127.0.0.1, 172.18.0.2
2023-05-10T23:11:22.539100109 0.316438s notice: Listening on http addresses: 127.0.0.1, 172.18.0.2
2023-05-10T23:11:22.539107209 0.316445s notice: Server ready, "94f92ff17ad0_b5t" 351bd23d-da7f-4829-93f5-9a1d2711b6cb
2023-05-10T23:11:24.305788508 2.083127s info: Table 9ab94c3e-b3cf-49d9-a5c1-98af7df44d3e: Starting a new Raft election for term 2.
2023-05-10T23:11:24.315115617 2.092454s info: Table 9ab94c3e-b3cf-49d9-a5c1-98af7df44d3e: This server is Raft leader for term 2. Latest log index is 2.
2023-05-09T18:28:54.744299100 0.776659s notice: Running rethinkdb 2.4.2~0bullseye (GCC 10.2.1)...
2023-05-09T18:28:54.946051800 0.978413s notice: Running on Linux 5.10.16.3-microsoft-standard-WSL2 x86_64
2023-05-09T18:28:54.949933600 0.982294s notice: Loading data from directory /data/rethinkdb_data
......
......@@ -3,7 +3,7 @@ version: "3"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.3.3
image: elasticsearch:8.7.1
container_name: elasticsearch
environment:
- bootstrap.memory_lock=true
......@@ -18,7 +18,7 @@ services:
- elastic
kibana:
image: docker.elastic.co/kibana/kibana:8.3.3
image: kibana:8.7.1
container_name: kibana
ports:
- "5601:5601"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment